[FUG-BR] regra fwd

Valois - Master Redes valois em terra.com.br
Sex Abr 8 16:35:10 BRT 2005


Vc stá cero, mas já tive esse tipo de problema e resolvi com este 
procedimento.
Derrepente....

Valois!

Celso Viana escreveu:

>Valois,
>
>O FreeBSD 5.3 já traz o ipfw2 nativamente! ou estou enganado?
>
>Celso
>
>On Apr 8, 2005 3:44 PM, Valois - Master Redes <valois em terra.com.br> wrote:
>  
>
>>Cara, tenta o seguinte:
>>
>>cd /usr/src/sbin/ipfw
>>make -DIPFW2
>>
>>cd /usr/src/lib/libalias
>>make -DIPFW2
>>Não testei mas já funcionou comigo.
>>
>>Sucesso!
>>
>>Celso Viana escreveu:
>>
>>    
>>
>>>teste# ipfw add fwd 10.10.10.5,3128 all from any to any dst-port 80
>>>ipfw: getsockopt(IP_FW_ADD): Invalid argument
>>>
>>>o kernel tá assim:
>>>
>>>options         IPFIREWALL
>>>options         IPFIREWALL_VERBOSE
>>>options         IPFIREWALL_VERBOSE_LIMIT=100
>>>options         IPFIREWALL_DEFAULT_TO_ACCEPT
>>>options         IPFIREWALL_FORWARD
>>>options         IPDIVERT
>>>options         DUMMYNET
>>>options         HZ=1000
>>>
>>>Celso
>>>
>>>On Apr 8, 2005 2:40 PM, Ronan Lucio <ronanl em videosoft.com.br> wrote:
>>>
>>>
>>>      
>>>
>>>>Celso,
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>se eu explicito... ipfw add fwd 3128,10.10.10.5 all from any to any
>>>>>dst-port 80
>>>>>
>>>>>acontece o mesmo erro;
>>>>>
>>>>>o que pode ser?
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>O correto é:
>>>>
>>>>ipfw add fwd 10.10.10.5,3128 all from any to any dst-port 80
>>>>
>>>>[]s
>>>>Ronan
>>>>
>>>>_______________________________________________
>>>>Freebsd mailing list
>>>>Freebsd em fug.com.br
>>>>http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>_______________________________________________
>>>Freebsd mailing list
>>>Freebsd em fug.com.br
>>>http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
>>>
>>>
>>>
>>>.
>>>
>>>
>>>
>>>      
>>>
>>--
>>Valois Ivan Tomasi
>>valois em terra.com.br
>>Linux User = 380101
>>MASTER REDES Tecnologia da Informação
>>(48) 265 - 3939
>>(48) 9104 - 7872
>>
>>
>>_______________________________________________
>>Freebsd mailing list
>>Freebsd em fug.com.br
>>http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
>>
>>    
>>
>
>_______________________________________________
>Freebsd mailing list
>Freebsd em fug.com.br
>http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
>
>
>
>.
>
>  
>

-- 
Valois Ivan Tomasi
valois em terra.com.br
Linux User = 380101
MASTER REDES Tecnologia da Informação
(48) 265 - 3939
(48) 9104 - 7872


_______________________________________________
Freebsd mailing list
Freebsd em fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br




Mais detalhes sobre a lista de discussão freebsd