Simples e funcional:

    # Extrato FGTS, the shit!
    CEF=' 200.201.160.0/20'
    # Transparent HTTP proxy
    HTTP='80'
    HTTP_PROXY='3128'
    $IPTABLES -t nat -A PREROUTING -i $INT_IF -p tcp --dport $HTTP -d $CEF
-j RETURN
    $IPTABLES -t nat -A PREROUTING -i $INT_IF -p tcp --dport $HTTP -j
REDIRECT --to $HTTP_PROXY

Obs: Altere a variável HTTP_PROXY se o Squid estiver configurado para
atender em porta diferente da padrão.


-- 
Márcio H. Parreiras @ Pedro Leopoldo - MG - Brazil


Por favor evite enviar-me anexos Excel (.xls), PowerPoint (.ppt) ou Word
(.doc);
Veja http://www.gnu.org/philosophy/no-word-attachments.pt.html

Please avoid sending me Excel (.xls), PowerPoint (.ppt) or Word (.doc)
attachments;
See http://www.gnu.org/philosophy/no-word-attachments.html


Experimente http://www.broffice.org

Try http://www.openoffice.org


"A caixa dizia: Requer MS Windows ou superior, então eu instalei Debian/GNU
Linux!"
http://www.debian.org/index.pt.html

"The box said: Requires MS Windows or better, then I installed Debian/GNU
Linux!"
http://www.debian.org/index.en.html


http://pt.wikipedia.org/wiki/Linux

http://en.wikipedia.org/wiki/Linux


Codificação de caracteres / Character encoding: Unicode (UTF-8)
.

Responder a