grizzlynet2
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Код: proxy:~# iptables -vnL Chain INPUT (policy DROP 4 packets, 938 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 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 655 105K ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0 973 81624 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 5346 5132K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED Chain FORWARD (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 192.168.151.150 tcp dpt:3389 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 192.168.151.150 tcp dpt:3389 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 192.168.151.150 tcp dpt:3389 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 192.168.151.150 tcp dpt:3389 2 266 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 multiport sports 25,110 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 25,110 0 0 ACCEPT tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 multiport sports 2809,9100,9101,9102,9103,9104,9105,9106,443,9900,9110 0 0 ACCEPT tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 2809,9100,9101,9102,9103,9104,9105,9106,443,9900,9110 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED Chain OUTPUT (policy ACCEPT 6948 packets, 1320K bytes) pkts bytes target prot opt in out source destination | Добавлено: iptables -t nat -vnL Код: pkts bytes target prot opt in out source destination 0 0 REDIRECT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 3128 0 0 DNAT tcp -- * * 0.0.0.0/0 192.168.151.150 tcp dpt:3389 to:192.168.150.1 Chain POSTROUTING (policy ACCEPT 13074 packets, 662K bytes) pkts bytes target prot opt in out source destination 0 0 SNAT all -- * * 192.168.150.1 0.0.0.0/0 to:192.168.151.150 407 24599 MASQUERADE all -- * eth0 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 26644 packets, 1525K bytes) pkts bytes target prot opt in out source destination |
|