Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@firewall:~# iptables -L -n -v
- Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 18 1368 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp spt:123
- 4 304 ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:123
- 20 2914 ACCEPT icmp -- eth1 * 0.0.0.0/0 0.0.0.0/0
- 76 8133 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
- 4283 256K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
- 3 984 ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
- 78 4997 ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- 198 100K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:53
- 487 60038 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 27 2052 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp spt:123
- 28 2128 ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:123
- 153 81548 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp spt:443
- 166 20496 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
- 276 330K ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp spt:80
- 261 20990 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
- 2 176 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp spt:53
- 2 112 ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- 8 672 ACCEPT icmp -- * eth1 0.0.0.0/0 0.0.0.0/0
- 4 336 ACCEPT icmp -- eth1 * 0.0.0.0/0 0.0.0.0/0
- 297 21650 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain OUTPUT (policy ACCEPT 38 packets, 5699 bytes)
- pkts bytes target prot opt in out source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement