Gateway

Iasen Kostov tbyte at otel.net
Mon Jul 31 14:25:49 UTC 2006


On Mon, 2006-07-31 at 10:01 +0100, Rodrigo Galiano wrote:
> Hi,
> 
>    Just add the following lines on rc.conf to get your gateway up and
> running for the LAN:
> 
> gateway_enable="YES"
> natd_enable="YES"
> natd_flags="-n xxx" (you should replace xxx with your external interface
> name)

from /etc/defaults/rc.conf :

natd_interface=""               # Public interface or IPaddress to use.

> firewall_enable="YES"
> firewall_script="/etc/ipfw.test" (this is to specify firewall script file
> (don't forget the natd rule on the firewall script).
> 




More information about the freebsd-stable mailing list