Enviado em 25/07/2014 - 15:27h
Boa tarde pessoal,
Se alguém poder me ajudar, queria saber o faz esses regras abaixo do iptables
e qual comando foi dado para gerar essa regra
se alguém poder me ajudar.
Chain PREROUTING (policy ACCEPT)
1 DNAT tcp -- anywhere anywhere tcp dpt:ms-wbt-server to:192.168.0.251:3389
2 DNAT tcp -- anywhere anywhere tcp dpt:http to:192.168.0.1:3128
3 DNAT tcp -- anywhere anywhere tcp dpt:webcache to:192.168.0.1:3128
4 DNAT tcp -- anywhere anywhere tcp dpt:https to:192.168.0.1:3128
5 DNAT tcp -- anywhere anywhere tcp dpt:tproxy to:192.168.0.1:3128
6 DNAT tcp -- anywhere anywhere tcp dpt:webcache to:192.168.0.1:3128
7 DNAT tcp -- anywhere anywhere tcp dpt:ftp to:192.168.0.1:3128
8 DNAT tcp -- anywhere anywhere tcp dpt:9013 to:192.168.0.163
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
1 MASQUERADE all -- 192.168.0.70 anywhere
2 MASQUERADE all -- 192.168.0.71 anywhere
3 MASQUERADE all -- 192.168.0.72 anywhere
4 MASQUERADE all -- 192.168.0.0/24 anywhere
Se alguém poder me ajudar, queria saber o faz esses regras abaixo do iptables
e qual comando foi dado para gerar essa regra
se alguém poder me ajudar.
Chain PREROUTING (policy ACCEPT)
1 DNAT tcp -- anywhere anywhere tcp dpt:ms-wbt-server to:192.168.0.251:3389
2 DNAT tcp -- anywhere anywhere tcp dpt:http to:192.168.0.1:3128
3 DNAT tcp -- anywhere anywhere tcp dpt:webcache to:192.168.0.1:3128
4 DNAT tcp -- anywhere anywhere tcp dpt:https to:192.168.0.1:3128
5 DNAT tcp -- anywhere anywhere tcp dpt:tproxy to:192.168.0.1:3128
6 DNAT tcp -- anywhere anywhere tcp dpt:webcache to:192.168.0.1:3128
7 DNAT tcp -- anywhere anywhere tcp dpt:ftp to:192.168.0.1:3128
8 DNAT tcp -- anywhere anywhere tcp dpt:9013 to:192.168.0.163
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
1 MASQUERADE all -- 192.168.0.70 anywhere
2 MASQUERADE all -- 192.168.0.71 anywhere
3 MASQUERADE all -- 192.168.0.72 anywhere
4 MASQUERADE all -- 192.168.0.0/24 anywhere