Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2006 17:25:36 +0300
From:      Iasen Kostov <tbyte@otel.net>
To:        rodrigo@liralink.com
Cc:        freebsd-stable@freebsd.org, 'Igor Robul' <igorr@speechpro.com>, 'SigmaX asdf' <fydernix@gmail.com>
Subject:   RE: Gateway
Message-ID:  <1154355936.83049.2.camel@DraGoN.OTEL.net>
In-Reply-To: <20060731090156.11E4743D49@mx1.FreeBSD.org>
References:  <20060731090156.11E4743D49@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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).
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1154355936.83049.2.camel>