trinca_joao
(usa CentOS)
Enviado em 10/09/2007 - 16:17h
Estou passando a saida do comando iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 1857 packets, 175K bytes)
pkts bytes target prot opt in out source destination
0 0 DNAT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:35124 to:192.168.2.18
0 0 DNAT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:35125 to:192.168.2.12
0 0 DNAT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:771 to:192.168.2.8
0 0 DNAT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:771 to:192.168.2.8
0 0 DNAT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpts:20:21 to:192.168.2.1
1 48 DNAT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3389 to:192.168.2.1
0 0 DNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:35125 to:192.168.2.12
Chain POSTROUTING (policy ACCEPT 69 packets, 4080 bytes)
pkts bytes target prot opt in out source destination
704 62624 MASQUERADE udp -- * * 0.0.0.0/0 0.0.0.0/0 udp
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp
17 816 MASQUERADE tcp -- * eth1 192.168.2.133 0.0.0.0/0 tcp dpt:!1863
0 0 MASQUERADE all -- * eth1 192.168.2.40 0.0.0.0/0
0 0 MASQUERADE udp -- * eth1 0.0.0.0/0 0.0.0.0/0 udp
619 31056 MASQUERADE tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpts:18:400
0 0 MASQUERADE udp -- * eth1 0.0.0.0/0 0.0.0.0/0 udp dpts:18:400
14 672 MASQUERADE all -- * eth1 192.168.2.1 0.0.0.0/0
0 0 MASQUERADE tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:3389
0 0 MASQUERADE tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpts:5800:5900
0 0 MASQUERADE udp -- * eth1 0.0.0.0/0 0.0.0.0/0 udp dpt:3389
0 0 MASQUERADE tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpts:20:21
0 0 MASQUERADE udp -- * eth1 0.0.0.0/0 0.0.0.0/0 udp dpts:20:21
Chain OUTPUT (policy ACCEPT 202 packets, 15101 bytes)
pkts bytes target prot opt in out source destination