- [root@twMobileLab ~]# iptables -nvL; iptables -t nat -nvL; iptables -t mangle -nvL
- Chain INPUT (policy ACCEPT 314 packets, 42593 bytes)
- pkts bytes target prot opt in out source destination
- Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 4
- Chain OUTPUT (policy ACCEPT 250 packets, 33349 bytes)
- pkts bytes target prot opt in out source destination
- Chain PREROUTING (policy ACCEPT 72 packets, 7439 bytes)
- pkts bytes target prot opt in out source destination
- Chain POSTROUTING (policy ACCEPT 2 packets, 127 bytes)
- pkts bytes target prot opt in out source destination
- 70 5150 MASQUERADE all -- * eth0 0.0.0.0/0 !10.10.10.0/24
- Chain OUTPUT (policy ACCEPT 72 packets, 5277 bytes)
- pkts bytes target prot opt in out source destination
- Chain PREROUTING (policy ACCEPT 367 packets, 47528 bytes)
- pkts bytes target prot opt in out source destination
- Chain INPUT (policy ACCEPT 317 packets, 42713 bytes)
- pkts bytes target prot opt in out source destination
- Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- Chain OUTPUT (policy ACCEPT 257 packets, 35509 bytes)
- pkts bytes target prot opt in out source destination
- Chain POSTROUTING (policy ACCEPT 257 packets, 35509 bytes)
- pkts bytes target prot opt in out source destination
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 192.168.137.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
- 0.0.0.0 192.168.137.1 0.0.0.0 UG 0 0 0 eth0
