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

Standard

iptables -F

iptables -F -t nat

 

iptables -t nat -A POSTROUTING -p ALL -s 192.168.10.0/24 -j MASQUERADE

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

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

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.