Liberar ranges para navegar (através de NAT) e redirecionar range para o squid

24/09/2008 0 Comments

iptables -F

iptables -F -t nat


iptables -t nat -A POSTROUTING -p ALL -s -j MASQUERADE

iptables -t nat -A PREROUTING -p tcp –dport 80 -m iprange –src-range -j REDIRECT –to-port 3128

Essa última linha vai jogar o pessoal do 100 ~ 190 para dentro do squid…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.