02 August 2008

And Oh, You Only Need IPTABLES Command...

...to get the SNAT working.

/sbin/iptables -t nat -A CUSTOMPOSTROUTING -s -o eth3 -j SNAT --to-source xx.x.xx.59

Where eth3 is your RED interface, is the IP you want to changed its originating Public IP, and that xx.x.xx.59 is the Public IP you want to be used by the Put that on console page (ssh would do).

That's all...


Post a Comment

Feel free to comment here... ^^b Thank you for your time.