From owner-freebsd-stable@FreeBSD.ORG Mon Jul 31 14:25:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E99316A4DF for ; Mon, 31 Jul 2006 14:25:49 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0E2B43D4C for ; Mon, 31 Jul 2006 14:25:48 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G7Yi8-000Hls-Ru; Mon, 31 Jul 2006 17:25:37 +0300 From: Iasen Kostov To: rodrigo@liralink.com In-Reply-To: <20060731090156.11E4743D49@mx1.FreeBSD.org> References: <20060731090156.11E4743D49@mx1.FreeBSD.org> Content-Type: text/plain Date: Mon, 31 Jul 2006 17:25:36 +0300 Message-Id: <1154355936.83049.2.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, 'Igor Robul' , 'SigmaX asdf' Subject: RE: Gateway X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 14:25:49 -0000 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). >