ifconfig eth0 down
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -X chain – usnięcie łańcucha
iptables -F
route add default gw 192.168.4.254 eth1
route add -net 192.168.4.0 netmask 255.255.255.0 dev eth1
route del -net 192.168.4.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth1
route del -net 192.168.4.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth1
route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.4.254 dev eth1
route del -net 192.168.4.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth1