From owner-freebsd-doc Thu Sep 21 17:33: 5 2000 Delivered-To: freebsd-doc@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 39D6337B440 for ; Thu, 21 Sep 2000 17:33:02 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13cFUM-000LTl-00; Fri, 22 Sep 2000 00:10:46 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id AAA26950; Fri, 22 Sep 2000 00:10:45 +0100 (BST) (envelope-from ben) Date: Fri, 22 Sep 2000 00:10:45 +0100 From: Ben Smithurst To: Carlos Castillo Reyes Cc: freebsd-doc@FreeBSD.org Subject: Re: help!!! Message-ID: <20000922001045.Q30774@strontium.scientia.demon.co.uk> References: <000801c02415$3dd11680$b60110ac@elinformador.com.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <000801c02415$3dd11680$b60110ac@elinformador.com.mx> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Carlos Castillo Reyes wrote: > Please help me, I'm new in freebsd and I want install freebsd system > as gateway, I have 2 netcards, one with private ip and other with > public ip. The very short and simple answer is "set gateway_enable=YES in /etc/rc.conf" and it should work. You'll have to execute the command 'sysctl -w net.inet.ip.forwarding=1' as root to make the change take effect without a reboot. If your system needs more advanced set-up than this, please direct any future questions to the FreeBSD-questions@FreeBSD.org mailing list. The freebsd-doc mailing list is for discussion of FreeBSD documentation, not for questions about FreeBSD itself. You'll probably find more people in that list willing and able to help you. -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message