Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- service iptables status
- Table: nat
- Chain PREROUTING (policy ACCEPT)
- num target prot opt source destination
- Chain POSTROUTING (policy ACCEPT)
- num target prot opt source destination
- 1 MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- 2 MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- 3 MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
- Chain OUTPUT (policy ACCEPT)
- num target prot opt source destination
- Table: mangle
- Chain PREROUTING (policy ACCEPT)
- num target prot opt source destination
- Chain INPUT (policy ACCEPT)
- num target prot opt source destination
- Chain FORWARD (policy ACCEPT)
- num target prot opt source destination
- Chain OUTPUT (policy ACCEPT)
- num target prot opt source destination
- Chain POSTROUTING (policy ACCEPT)
- num target prot opt source destination
- 1 CHECKSUM udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:68 CHECKSUM fill
- Table: filter
- Chain INPUT (policy ACCEPT)
- num target prot opt source destination
- 1 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- 2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
- 3 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
- 4 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
- 5 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
- 6 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
- 7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8775
- Chain FORWARD (policy DROP)
- num target prot opt source destination
- 1 ACCEPT all -- 0.0.0.0/0 192.168.122.0/24 state RELATED,ESTABLISHED
- 2 ACCEPT all -- 192.168.122.0/24 0.0.0.0/0
- 3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
- 4 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- Chain OUTPUT (policy ACCEPT)
- num target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment