[root@wifi ~]# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- anywhere !192.168.1.1
DROP udp -- anywhere !192.168.1.1 udp dpt:!domainREDIRECT tcp -- anywhere !192.168.1.1iptables -t nat -A PREROUTING -p tcp ! -d 192.168.1.1 -j REDIRECTiptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- anywhere !192.168.1.1iptables-saveiptables-save > fileiptables-restore < file