LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RDP Port redirecting from one Debian Linux through another (https://www.linuxquestions.org/questions/linux-newbie-8/rdp-port-redirecting-from-one-debian-linux-through-another-868906/)

pieterswart 03-16-2011 07:15 AM

RDP Port redirecting from one Debian Linux through another
 
Hi,

Hope someone can help me.

I have 2 debian linux PCs on the same subnet/IP Range 192.168.100.0, 1st linux PC IP Address is 192.168.100.1, 2nd linux PC IP Address 192.168.100.9.

1st LINUX PC
-------------
1st linux PC has 2 network interfaces, eth1 connected to Cisco Router, eth0 is for local LAN. No NAT on Cisco Router, iptables firewall on linux PC.

2nd LINUX PC
-------------
2nd Linux PC has 2 network interfaces, eth1 is connected to netgear router via bridge mode, creating a ppp0 connection. eth0 is for local LAN. No NAT on Netgear Router, Iptables firewall on Linux PC.

The 1st linux PC (192.168.100.1) is set as the gateway on the network.

My question -
In what way can I redirect all RDP connections from the network via the 1st Linux PC (192.168.100.1) through to the 2nd Linux PC (192.168.100.9) ?

Help would be appreciated. Been battling with this for a week now.

Kind Regards
Pieter

r0b0 03-16-2011 12:03 PM

Sorry. I don't quite understand your network topology. What network is behind the Cisco Router that eht1 of PC1 is connected to? What network is eth1 on PC2 connected to? IP addresses/netmasks would help. Also, on which address is the RDP service listening? Is the RDP on PC2? That would be unusual, RDP is a windows protocol.


All times are GMT -5. The time now is 12:11 PM.