camertone555
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору [more] Цитата: iptables -vnL Код: Chain INPUT (policy ACCEPT 16M packets, 14G bytes) pkts bytes target prot opt in out source destination 476 130K ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy ACCEPT 21M packets, 23G bytes) pkts bytes target prot opt in out source destination 12M 2642M ACCEPT all -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT all -- * * 192.168.1.0/24 10.107.1.102 0 0 ACCEPT all -- * * 10.107.1.102 192.168.1.0/24 7 420 ACCEPT all -- * * 192.168.1.0/24 10.107.1.100 7 420 ACCEPT all -- * * 10.107.1.100 192.168.1.0/24 Chain OUTPUT (policy ACCEPT 19M packets, 15G bytes) pkts bytes target prot opt in out source destination | iptables -t nat -vnL Код: Chain PREROUTING (policy ACCEPT 549K packets, 45M bytes) pkts bytes target prot opt in out source destination 183K 9495K REDIRECT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,8080 redir ports 3128 Chain OUTPUT (policy ACCEPT 117K packets, 7061K bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 2571 packets, 166K bytes) pkts bytes target prot opt in out source destination 423K 34M MASQUERADE all -- * eth0 10.107.1.0/24 0.0.0.0/0 115K 6895K SNAT all -- * eth0 0.0.0.0/0 0.0.0.0/0 to:10.107.2.103 0 0 SNAT all -- * eth0 0.0.0.0/0 0.0.0.0/0 to:192.168.1.222 | |