FreeBSD as a router

good day to all guru's :)

i have my freebsd machine with 2 ether port, 1 is onboard and 2 is LAN card, now the onboard connected behind router and works fine ans can ping outside my second lan card no problem also its fully driver supported, how do i check and how do i config act as a router this machine? anyone can help me pls

thanks
 
Add gateway_enable="YES" to enable routing.

You may also want to configure PF or any of the other firewalls so you can use NAT.

Another handy feature is net/isc-dhcp30-server.
 
Back
Top