Ol�!

Fa�a no NAT na interface da rede 10.2 (ex. fxp1)... e use o parametro reverse para inicializar o nat!

-reverse    This option makes natd reverse the way it handles incoming
                 and outgoing packets, allowing it to operate on the internal
                 interface rather than the external one.

                 This can be useful in some transparent proxying situations
                 when outgoing traffic is redirected to the local machine and
                 natd is running on the internal interface (it usually runs on
                 the external interface).

[]'s!


At 19:25 12/7/2003 -0300, you wrote:
Boa noite pessoal,

Estou aqui com um pequeno problema. Seguinte, tenho duas rede privadas aqui: 10.1.0.0/16 e 10.2.0.0/16, s� que eu preciso fazer nat apenas para UMA REDE, que � a rede 10.2.0.0/16. J� tentei por na regra do ipfw as seguintes linhas:

${fwcmd} add divert 8668 ip from 10.2.0.0/16 to any via tun0
${fwcmd} add allow ip from any to 10.2.0.0/16

S� que n�o funciona. N�o tive sucesso. Ou eu coloco:

${fwcmd} add divert 8668 ip from any to any via tun0
${fwcmd} add allow ip from any to any

Que faz funcionar para todas as duas redes, ou n�o funciona para nenhuma.

Algu�m tem alguma sugest�o?


Regards,


---------------------------------------------------
Vitor de Matos Carvalho - #5602098
Softinfo Network Administrator
+55 (71)9971-5011 / +55 (71)9986-9317
Salvador - Bahia - Brazil
FreeBSD: The silent Workhorse

_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/

--------------------------------------------- Leonardo Garcia FreeBSD user since 2.1.5 (Long time ago)... Windows sometimes is necessary, Linux NEVER. My System NOW: FreeBSD 5.0, BeOS 5, QNX 6, SunOS (on Sun Ultra 2), WXP




_______________________________________________________________ Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr Historico: http://www4.fugspbr.org/lista/html/FUG-BR/

Responder a