freebsd
[Início] [Todas as Listas]

Re: [FUG-BR] Como pular regra no ipfw

From: Christopher Giese - IRAPIDA <chris@xxxxxxxxxxxxxx>
To: Lista de discussao do grupo FUG-BR <Freebsd@xxxxxxxxxx>
Subject: Re: [FUG-BR] Como pular regra no ipfw
Date: Fri, 29 Apr 2005 12:19:41 -0300
use o

skipto

do ipfw.....

o man eh seu amigo (e o google mais ainda)

Christopher Giese <SkyWarrior>
chris@xxxxxxxxxxxxxx

Andre Luiz escreveu:

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


_______________________________________________
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>