IpCop - Conectividade Social com Proxy transparente

Adcionar as linhas abaixo no arquivo rc.firewall.local

#Regras para conectividade social

/sbin/iptables -t nat -I PREROUTING -p tcp -d 200.201.0.0/16 -j ACCEPT
/sbin/iptables -I FORWARD -p tcp -d 200.201.0.0/16 -j ACCEPT
/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp -d ! 200.201.174.207 --dport 80 -j REDIRECT --to-port 3128

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment