[Ubuntu-BR] IP tables - Squid

Raphael Menezes raphaelm em gmail.com
Segunda Agosto 27 15:36:41 UTC 2007


iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128

On 8/27/07, Maicon R. Golo - Virtual Informática e Auto-Som <
maicongolo em gmail.com> wrote:
>
> Pessoal, preciso liberar o squid no firewall
> eu libero com INPUT ou FORWARD
> se eu soh liberar com INPUT vai fazer o Nat??
> pq minhas maquina na rede nao tem ip válido, na hora q voltar os pacotes
> vai
> fazer o nat???
> minha regra taria assim
> sudo iptables -A INPUT -p tcp --sport 1024:65535 --dport 3128 -i eth2 -j
> ACCEPT
> a principio é para o proxy ta instalado no firewall, entao logo eh um
> processamento local e teria q ser INPUT
> aguardo respostas
>
>
> --
> Maicon R. Golo
> Virtual Informática e Auto-Som
> Av. Cel Bertaso - 562 - Quilombo
> Fone: (49) 3346 3635
> http://www.virtualsom.com.br
> MSN: maicon em zipway.com.br
> Skype: maicongolo
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui  -
> ubuntu-br mailing list
> ubuntu-br em lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>



-- 
"If builders built buildings the way programmers wrote programs, then the
first woodpecker that came along would destroy civilization."



More information about the ubuntu-br mailing list