freebsd
[Início] [Todas as Listas]

[FUG-BR] Como pular regra no ipfw

From: Andre Luiz <andrebjl@xxxxxxxxxxxx>
To: freebsd@xxxxxxxxxx
Subject: [FUG-BR] Como pular regra no ipfw
Date: Fri, 29 Apr 2005 11:46:50 -0300 (ART)
 Tenho um cliente (interno) q faz acesso a um servico (externo), onde usa 
determinadas portas. A dúvida é como eu poderia fazer pra pular a regra de 
redirecionamento q é a seguinte: Alguem pode me ajudar a usar o comando spikto. 
Desde de ja agradeco pela atencao.
ipfw add fwd 127.0.0.1,3128 tcp from any to any 80
 
IP rl0 - 200.XXX.XXX.XXX
IP rl1 - 10.0.0.2
IP do cliente 10.0.0.15
 
rc.filters
#!/bin/sh
/sbin/ipfw -f flush
/sbin/ipfw add 49 allow tcp from me to any
/sbin/ipfw add 50 fwd 127.0.0.1,3128 tcp from any to any 80
/sbin/ipfw add 51 divert natd ip from any to any via rl0
/sbin/ipfw add 52 allow all from any to any via lo0
/sbin/ipfw add 53 deny ip from any to 127.0.0.0/8

                
---------------------------------
Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora!
_______________________________________________
Freebsd mailing list
Freebsd@xxxxxxxxxx
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


<Anterior na Thread] Thread Atual [Próximo na Thread>