iptables -L -nv
iptables -L -nv -t natCode:Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:51778
258 19273 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
660 172K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
20 1920 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 state NEW
1065 328K ACCEPT all -- br0 * 0.0.0.0/0 0.0.0.0/0 state NEW
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
3 180 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 flags:0x17/0x02
0 0 ACCEPT tcp -- * * 0.0.0.0/0 192.168.1.1 tcp dpt:80
3794 310K DROP all -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 60620 packets, 3546K bytes)
pkts bytes target prot opt in out source destination
1176 60988 ACCEPT all -- br0 br0 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
105K 5125K TCPMSS tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS clamp to PMTU
1447K 425M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 DROP all -- !br0 ppp0 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- !br0 vlan1 0.0.0.0/0 0.0.0.0/0
33668 2169K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT
0 0 ACCEPT all -- * br0 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 1819 packets, 500K bytes)
pkts bytes target prot opt in out source destination
Chain BRUTE (0 references)
pkts bytes target prot opt in out source destination
Chain MACS (0 references)
pkts bytes target prot opt in out source destination
Chain SECURITY (0 references)
pkts bytes target prot opt in out source destination
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02 limit: avg 1/sec burst 5
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x04 limit: avg 1/sec burst 5
0 0 RETURN udp -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 5/sec burst 5
0 0 RETURN icmp -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 5/sec burst 5
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
Chain logaccept (0 references)
pkts bytes target prot opt in out source destination
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW LOG flags 7 level 4 prefix `ACCEPT '
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
Chain logdrop (0 references)
pkts bytes target prot opt in out source destination
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW LOG flags 7 level 4 prefix `DROP '
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
iptables -L -nv -t mangleCode:Chain PREROUTING (policy ACCEPT 47273 packets, 3124K bytes)
pkts bytes target prot opt in out source destination
40789 2697K VSERVER all -- * * 0.0.0.0/0 92.255.166.74
Chain POSTROUTING (policy ACCEPT 36930 packets, 2405K bytes)
pkts bytes target prot opt in out source destination
42814 2744K MASQUERADE all -- * ppp0 !92.255.166.74 0.0.0.0/0
187 12277 SNAT all -- * br0 192.168.1.0/24 192.168.1.0/24 to:192.168.1.1
Chain OUTPUT (policy ACCEPT 319 packets, 45519 bytes)
pkts bytes target prot opt in out source destination
Chain VSERVER (1 references)
pkts bytes target prot opt in out source destination
23668 1172K DNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:40598 to:192.168.1.150:40598
0 0 DNAT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:9528 to:192.168.1.150:9528
13130 1200K DNAT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:40598 to:192.168.1.150:40598
0 0 DNAT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:29026 to:192.168.1.241:29026
0 0 DNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:29026 to:192.168.1.241:29026
0 0 DNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:9528 to:192.168.1.150:9528
2 компа подключено через Lan, фаерволл включен.Code:Chain PREROUTING (policy ACCEPT 1734K packets, 483M bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 6422 packets, 914K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 1726K packets, 482M bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 2329 packets, 597K bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 1730K packets, 483M bytes)
pkts bytes target prot opt in out source destination