Find the answer to your Linux question:
Results 1 to 4 of 4
Hi folks Host Debian 5.0 KVM - virtualizer Guest - Debian 5.04 I need to set up port-forwarding to run $ rdesktop 192.168.0.10:3389 to connect the guest. On /etc/sysctl.conf already ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778

    question on port-forwarding


    Hi folks

    Host Debian 5.0
    KVM - virtualizer
    Guest - Debian 5.04

    I need to set up port-forwarding to run

    $ rdesktop 192.168.0.10:3389

    to connect the guest.


    On /etc/sysctl.conf already ucomment;
    net.ipv4.ip_forward=1


    and add following 2 lines on /etc/rc.local
    /sbin/iptables -P FORWARD ACCEPT
    /sbin/iptables --table nat -A POSTROUTING


    But I can't find /sbin/iptables the execute file. Please help. TIA


    B.R.
    satimis

  2. #2
    Linux Newbie framp's Avatar
    Join Date
    Jul 2006
    Location
    Stuttgart, Germany
    Posts
    240
    Quote Originally Posted by satimis View Post
    ...But I can't find /sbin/iptables the execute file. Please help. TIA...
    Sounds uggly. I'm not familiar with Debian - but iptables should be installed all the time.
    "Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    2
    apt-get install iptable??

    If not you could always do some magical ssh tunneling!

    ssh -v -L 3389:192.168.0.10:3389 user@serverIP

    then you would issue rdesktop as follows: rdesktop 127.0.0.1:3389


  4. #4
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778

    Solved

    Hi folks,

    Thanks for your advice.

    Problem solved. It was because I haven't installed RDP server, xrdp on the guest.

    B.R.
    satimis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •