Enviado em 06/10/2008 - 12:18h
Olá, boa tarde...
Sou novato no Mundo Linux e estou aprendendo a configurar iptables com o Mandriva.
Gostaria de saber se alguém pode me ajudar dizendo o que as regras abaixo fazem.
1 - iptables -t nat -A PREROUTING -p udp -s 0.0.0.0/0 --dport 3389 -j DNAT –to 192.0.0.6
2 - iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth1- j SNAT 200.20.5.0/24
3 - iptables -t nat -A PREROUTING -s 10.0.0.0/8 -p tcp --dport 80 -j REDIRECT --to --port 3128
Obrigado.
Sou novato no Mundo Linux e estou aprendendo a configurar iptables com o Mandriva.
Gostaria de saber se alguém pode me ajudar dizendo o que as regras abaixo fazem.
1 - iptables -t nat -A PREROUTING -p udp -s 0.0.0.0/0 --dport 3389 -j DNAT –to 192.0.0.6
2 - iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth1- j SNAT 200.20.5.0/24
3 - iptables -t nat -A PREROUTING -s 10.0.0.0/8 -p tcp --dport 80 -j REDIRECT --to --port 3128
Obrigado.