java-man
(usa Outra)
Enviado em 02/12/2011 - 16:33h
-Resultado do comando #iptables -nL
root@uniclass:~# iptables -nL
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- !10.2.0.0/24 192.168.1.2
ACCEPT all -- 10.1.0.0/24 10.1.0.1
ACCEPT all -- 10.2.0.0/24 10.2.0.1
ACCEPT all -- 10.3.0.0/24 10.3.0.1
ACCEPT all -- 10.1.0.0/24 10.2.0.0/24
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
-Resultado do comando #iptables -t nat -nL
Chain PREROUTING (policy ACCEPT)
DNAT tcp -- 0.0.0.0/0 192.168.1.2 tcp dpt:80 to:10.1.0.145:80