>iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 188K packets, 14M bytes)
pkts bytes target prot opt in out source destination
0 0 DNAT tcp -- * * x.x.181.213 x.x.181.212 tcp dpt:21 to:-.-.-.-
0 0 DNAT tcp -- * * 0.0.0.0/0 194.67.181.212 tcp dpt:4899 to:10.0.0.3
120 8250 ACCEPT all -- * * x.x.181.213 0.0.0.0/0
49 2616 ACCEPT all -- * * 0.0.0.0/0 x.x.181.213
Chain POSTROUTING (policy ACCEPT 3496 packets, 214K bytes)
pkts bytes target prot opt in out source destination
5774 305K SNAT all -- * * 192.168.0.0/24 0.0.0.0/0 to:x.x.181.212
2193 113K SNAT all -- * * 10.0.0.0/24 0.0.0.0/0 to:x.x.181.212
Chain OUTPUT (policy ACCEPT 225 packets, 14685 bytes)
pkts bytes target prot opt in out source destination
>iptables -t mangle -nvL
Chain PREROUTING (policy ACCEPT 211M packets, 49G bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 40M packets, 16G bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 105M packets, 30G bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 45M packets, 22G bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 134M packets, 51G bytes)
pkts bytes target prot opt in out source destination
>iptables -nvL
Chain INPUT (policy ACCEPT 4505 packets, 528K bytes)
pkts bytes target prot opt in out source destination
0 0 DROP tcp -- * * 127.0.0.1 0.0.0.0/0 tcp spt:80
0 0 DROP udp -- * * 127.0.0.1 0.0.0.0/0 udp spt:80
25828 3069K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:33
2 112 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6667
2467 287K DROP all -- eth0 * 0.0.0.0/0 0.0.0.0/0
91 5652 ACCEPT all -- * * 10.0.0.2 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 10.0.0.2
653 39055 ACCEPT udp -- * * 10.0.0.0/8 0.0.0.0/0 udp dpt:53
13 624 ACCEPT tcp -- * * 10.0.0.0/8 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT udp -- * * 10.0.0.0/24 0.0.0.0/0 udp dpt:53
0 0 ACCEPT tcp -- * * 10.0.0.0/24 0.0.0.0/0 tcp dpt:53
1299 107K ACCEPT udp -- * * 192.168.0.0/24 0.0.0.0/0 udp dpt:53
2 96 ACCEPT tcp -- * * 192.168.0.0/24 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:10000
9247 709K ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT tcp -- * * 10.0.0.0/8 0.0.0.0/0 tcp dpt:6666
0 0 ACCEPT udp -- * * 10.0.0.0/8 0.0.0.0/0 udp dpt:6666
0 0 ACCEPT tcp -- * * 192.168.0.0/24 0.0.0.0/0 tcp dpt:6666
0 0 ACCEPT udp -- * * 192.168.0.0/24 0.0.0.0/0 udp dpt:6666
0 0 ACCEPT all -- * * x.x.181.234 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 x.x.181.234
36 2160 ACCEPT all -- * * 10.0.0.9 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 10.0.0.9
0 0 ACCEPT all -- * * 127.0.0.1 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 127.0.0.1
0 0 DROP all -- eth0 * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy DROP 8 packets, 418 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP tcp -- * * 127.0.0.1 0.0.0.0/0 tcp spt:80
0 0 DROP udp -- * * 127.0.0.1 0.0.0.0/0 udp spt:80
0 0 DROP all -- * * 127.0.0.1 0.0.0.0/0
0 0 ACCEPT tcp -- * * x.x.181.234 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- * * 10.0.0.2 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- * * 0.0.0.0/0 195.209.36.35 tcp dpt:25
33 1584 DROP tcp -- * * 0.0.0.0/0 !x.x.181.214 tcp dpt:25
560 26880 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:135
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:593
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:4444
0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:69
169 9817 ACCEPT all -- * * 0.0.0.0/0 x.x.181.234
211 200K ACCEPT all -- * * x.x.181.234 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 10.0.0.2
0 0 ACCEPT all -- * * 10.0.0.2 0.0.0.0/0
94 9518 client_access all -- * * 10.0.0.0/24 0.0.0.0/0
52 31344 client_access all -- * * 0.0.0.0/0 10.0.0.0/24
1 48 client_access all -- * * 10.0.0.0/8 0.0.0.0/0
0 0 client_access all -- * * 0.0.0.0/0 10.0.0.0/8
0 0 client_access all -- * * x.x.181.235 0.0.0.0/0
0 0 client_access all -- * * 0.0.0.0/0 x.x.181.235
0 0 client_access all -- * * x.x.181.213 0.0.0.0/0
0 0 client_access all -- * * 0.0.0.0/0 x.x.181.213
754 61524 client_access all -- * * 192.168.0.0/24 0.0.0.0/0
711 614K client_access all -- * * 0.0.0.0/0 192.168.0.0/24
Chain OUTPUT (policy ACCEPT 40548 packets, 13M bytes)
pkts bytes target prot opt in out source destination
0 0 DROP tcp -- * * 127.0.0.1 0.0.0.0/0 tcp spt:80
0 0 DROP udp -- * * 127.0.0.1 0.0.0.0/0 udp spt:80
Chain client_access (10 references)
pkts bytes target prot opt in out source destination
+++++++ ТУТ ИДЁТ КУЧА РАЗРЕШЕНИЙ ДЕЛАЮЩИХ RETURN +++++++
42 5028 DROP all -- * * 0.0.0.0/0 0.0.0.0/0