Redirect and change the source IP
How can I redirect inbound traffic and also change the source IP of this traffic?
Quoted 2 lines · Martín
How can I redirect inbound traffic and also change the source IP of this traffic?
iptables -t nat -A POSTROUTING -i eth0 -s 123.321.123.321 -p tcp --dport 80 -j SNAT --to 1.2.3.4
Signature · 7 lines
-- Raymond Leach <[email protected]> Network Support Specialist http://www.knowledgefactory.co.za "lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import" Key fingerprint = 7209 A695 9EE0 E971 A9AD 00EE 8757 EE47 F06F FB28 --