Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2013
Redirect remote desktop traffic with 2 WANs and 1 LAN
Im configuring a linux centos sever for testings and the network configuration for it is:
WAN 1= 192.168.1.103/24 eth0
WAN 2= 172.16.1.249/16 eth1
LAN = 192.168.10.1 eth2
server is configured to be a non transparent proxy without authentication, every client has configured the proxy and IP port on the browsers. Internet access is working fine from the client computers; computers are in the 192.168.10.x/24 range and also the default gateway for the computers is 192.168.10.1
We need to redirect windows Remote Desktop traffic from the LAN from eth2 to eth1 only. this because the WAN2 link is more stable and that fits our needs to keep the RDP session alive. The final destination server which has the RDP enabled so we can work has the IP 126.96.36.199/24 and access is provided by a router from the ISP.
How can I configure this in the server so RDP protocol (port 3389) can be redirected to eth1 and the rest of the traffic keeps using the eth0 link?
Im lost about what approach to take, i dont know for sure if this can be accomplished using iptables or if else it has to use iproute2.
Thanks in advance.