SliTaz ICS Setup
eth0 connects to WAN with cable modem
eth1 connects to LAN with switch
# tazpkg get-install iptables
# leafpad /etc/init.d/local.sh
Add below echo "Starting local startup commands... "
#configure interface alias connected to LAN
ifconfig eth1 192.168.0.1 up
echo 1 > /proc/sys/net/ipv4/ip_forward
#configure iptables for interface alias connected to WAN
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# leafpad /etc/rcS.conf
Add udhcpd to RUN_DAEMONS=
# leafpad /etc/udhcpd.conf
interface eth1
opt dns 8.8.8.8 8.8.4.4
option subnet 255.255.255.0
opt router 192.168.0.1
opt broadcast 192.168.0.255
Reboot SliTaz ICS computer.
Reboot or restart networking on each LAN computer.
LAN computers access internet through SliTaz ICS