ridben | voila
Code :
- pegase root # iptables -L -nv
- Chain INPUT (policy DROP 7 packets, 396 bytes)
- pkts bytes target prot opt in out source destination
- 0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
- 117K 11M ACCEPT all -- eth0 * 0.0.0.0/0 0.0.0.0/0 state ESTABLISHED
- 563 69383 ACCEPT all -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED
- 349 41952 ALLOW_ICMP icmp -- * * 0.0.0.0/0 0.0.0.0/0
- 25 5641 ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp spt:53
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:53
- 13228 20M ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:80 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:443 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:21 state ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:20 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpts:1024:65535 state ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:110 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:993 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:25 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:119 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp spt:873 state ESTABLISHED
- 3289 168K LOG_DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain FORWARD (policy DROP 40 packets, 22154 bytes)
- pkts bytes target prot opt in out source destination
- 183 37016 ACCEPT udp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 udp spt:53
- 185 11959 ACCEPT udp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:53
- 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
- 2595 318K ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 state NEW,RELATED,ESTABLISHED
- 92 23588 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 state NEW,RELATED,ESTABLISHED
- 2783 1693K ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:80 state RELATED,ESTABLISHED
- 103 51621 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:443 state RELATED,ESTABLISHED
- 514 23936 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:5190
- 498 73936 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:5190
- 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
- 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:110
- 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:993
- 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:993
- 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
- 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:25
- 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:119
- 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:119
- 1231 75321 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:4661
- 994 634K ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:4242
- 234K 254M ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:4662
- 404K 249M ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp spt:8000
- 407K 23M ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp dpt:8000
- 37796 1262K ACCEPT udp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 udp spt:8090
- 38746 1819K ACCEPT udp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 udp dpt:8090
- 906 66616 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:4661
- 784 44527 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:4242
- 144 8933 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:21 state ESTABLISHED
- 158 9702 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 state NEW,ESTABLISHED
- 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:20 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:20 state ESTABLISHED
- 192K 8806K ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpts:1024:65535 state ESTABLISHED
- 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpts:1024:65535 state RELATED,ESTABLISHED
- 266 15474 ALLOW_ICMP icmp -- * * 0.0.0.0/0 0.0.0.0/0
- 2976 145K LOG_DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain OUTPUT (policy DROP 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
- 145K 22M ACCEPT all -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED
- 0 0 ACCEPT all -- * eth0 0.0.0.0/0 0.0.0.0/0 state ESTABLISHED
- 342 41624 ALLOW_ICMP icmp -- * * 0.0.0.0/0 0.0.0.0/0
- 25 1591 ACCEPT udp -- * eth1 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
- 6829 359K ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 state NEW,RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 state NEW,RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 state NEW,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:20 state ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpts:1024:65535 state RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:110 state NEW,RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:993 state NEW,RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 state NEW,RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:119 state NEW,RELATED,ESTABLISHED
- 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:873
- 110 26125 LOG_DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ALLOW_ICMP (3 references)
- pkts bytes target prot opt in out source destination
- 343 41628 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 0
- 343 41628 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 8
- 12 736 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 11
- Chain LOG_DROP (3 references)
- pkts bytes target prot opt in out source destination
- 6375 339K LOG all -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 4 prefix `[IPTABLES DROP] : '
- 6375 339K DROP all -- * * 0.0.0.0/0 0.0.0.0/0
|
|