Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ iptables -L -v -n -t nat
- Chain PREROUTING (policy ACCEPT 617K packets, 39M bytes)
- pkts bytes target prot opt in out source destination
- Chain INPUT (policy ACCEPT 22309 packets, 1652K bytes)
- pkts bytes target prot opt in out source destination
- Chain OUTPUT (policy ACCEPT 257K packets, 27M bytes)
- pkts bytes target prot opt in out source destination
- Chain POSTROUTING (policy ACCEPT 62799 packets, 9386K bytes)
- pkts bytes target prot opt in out source destination
- 0 0 MASQUERADE tcp -- * * 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- 467 31714 MASQUERADE udp -- * * 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- 0 0 MASQUERADE all -- * * 192.168.122.0/24 !192.168.122.0/24
- 1879K 135M MASQUERADE all -- * br0 0.0.0.0/0 0.0.0.0/0
- 0 0 MASQUERADE all -- * ppp0 192.168.10.0/24 0.0.0.0/0
- ~$ iptables -L -v -n
- Chain INPUT (policy ACCEPT 132K packets, 30M bytes)
- pkts bytes target prot opt in out source destination
- 0 0 ACCEPT udp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- 0 0 ACCEPT tcp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
- 0 0 ACCEPT udp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
- 0 0 ACCEPT tcp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
- 0 0 ACCEPT 47 -- * * 0.0.0.0/0 0.0.0.0/0
- Chain FORWARD (policy ACCEPT 29323 packets, 16M bytes)
- pkts bytes target prot opt in out source destination
- 0 0 ACCEPT all -- * virbr0 0.0.0.0/0 192.168.122.0/24 state RELATED,ESTABLISHED
- 0 0 ACCEPT all -- virbr0 * 192.168.122.0/24 0.0.0.0/0
- 0 0 ACCEPT all -- virbr0 virbr0 0.0.0.0/0 0.0.0.0/0
- 0 0 REJECT all -- * virbr0 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- 0 0 REJECT all -- virbr0 * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- Chain OUTPUT (policy ACCEPT 142K packets, 47M bytes)
- pkts bytes target prot opt in out source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement