This is a short howto for setting up Network Address Translation on a linux system (Debian was used for this howto)
$echo 1 > /proc/sys/net/ipv4/ip_forward
add the following in /etc/network/options
ip_forward=yes
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE(replace eth0 by the interface connecting your Debian router to the Internet)
| Labels: unix, routing |
|