Results 1 to 4 of 4
Thread: question on port-forwarding
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
04-17-2010 #1
- Join Date
- Sep 2004
- Posts
- 1,841
question on port-forwarding
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
-
04-20-2010 #2
-
04-21-2010 #3
- 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
-
04-21-2010 #4
- Join Date
- Sep 2004
- Posts
- 1,841
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