Forward the Wan IP to another Wan IP without change the Source address
- by user195410
I have tried this case by using the NAT function in iptables but fail
example.
PC A IP is 1.1.1.1 (Win7)
My Server IP is 2.2.2.2 (CentOS 6.2)
target Server B is 3.3.3.3 (Windows server 2003)
Flow: PC A WanIP -- My Server A -- Server B (WanIP)
----My iptables rules---------
iptables -t nat -A PREROUTING -d 2.2.2.2 -p tcp --dport 80 -j DNAT…