› Forums › Network Management › Networking › Different public source IPs from NAT’ed internal servers? › Reply To: Different public source IPs from NAT’ed internal servers?
January 14, 2009 at 8:02 am
#47365
Member
Hi,
according to what you ask the rule
iptables -t nat -A POSTROUTING --source 192.168.0.2 -j SNAT --to-source x.x.x.2
should do the work for you.
All you need is to place it on the appropriate line in iptables configuration.