Set up Network Address Translation

From Linuxintro
Revision as of 20:02, 3 October 2010 by imported>ThorstenStaerk (New page: To set up NAT, open a console and enter echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Category:Guides)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To set up NAT, open a console and enter

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE