Olá,

Acho que também pode ser possível implementar isso com o pf né?
eu acredito que ficaria assim...

ext_if="tun0" #modem bridge
ext_if2="rl1" #supondo que seu adsl router esteja aki
lan_if="rl0" #rede 1
lan_if2="rl2 #rede 2

lan_net="192.168.0.0/24" #range 1
lan_net2="10.0.0.0/24" #range 2

nat on $ext_if from { $lan_net } to any -> ($ext_if) #nat da rede1 saindo pelo modem bridge
nat on $ext_if2 from { $lan_net2 } to any -> ($ext_if2) #nat da rede 2 saindo pelo modem router


eu acho que dá pra fazer assim tb..

abraços.


---------------------------------------------------------------------
Thiago J. Ruiz
bs2 Internet
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Reply via email to