Connecting networks

Eric Crist mnslinky at gmail.com
Tue Dec 11 12:29:23 PST 2007


Add

gateway_enable="YES" to /etc/rc.conf.

Make sure your other systems use the freebsd box in question as their  
default route.

make sure your firewall, if you have one, is passing the traffic  
between the two networks.

Use pf or some other means to nat outbound traffic.

HTH


On Dec 11, 2007, at 7:29 AM, Alaor Barroso de Carvalho Neto wrote:

> Hi guyz, it's me again. I think I don't know what I'm doing, so I  
> ask for
> help. I have three private networks(192.168.1, 10.10.0, 192.168.2)  
> and a
> link to the external world 200.212.X, what I want to do is that my  
> FreeBSD
> connect all the networks to the external world and the 192.168.1 to  
> the
> 10.10.0, so a machine in 192.168.1 would ping to a machine in  
> 10.10.0. I
> have a brand new copy of freebsd in my machine, I just configured  
> the four
> interfaces in rc.conf, that's all I did. gateway_enable is set to  
> true.
> The interfaces are connected to each network. What's the next step?
>
> Atenciosamente,
> Alaor Neto
> CEFET Campos/UNED Macaé
> Coordenação de Tecnologia da Informação
> (22) 9217-3198 / (22) 2773-6530 ramal 2035
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org 
> "

-----
Eric F Crist
Secure Computing Networks




More information about the freebsd-questions mailing list