iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE # internet nicifconfig eth1 192.168.1.1 netmask 255.255.255.0 up # internal lan nic