Configure NAT (network address translation)with linux iptables command
Posted on December 27th, 2007 by linux
Sharing internet connection with NAT (network address translation) can be easy as running commands:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
where ppp0 is your external interface.
Filed under: Administration, Linux, Networks