From owner-freebsd-questions Fri Jul 19 10: 7:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9152937B400 for ; Fri, 19 Jul 2002 10:07:36 -0700 (PDT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4389143E6D for ; Fri, 19 Jul 2002 10:07:35 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 17VbE4-0002q4-0U; Fri, 19 Jul 2002 18:07:32 +0100 Message-ID: Date: Fri, 19 Jul 2002 18:06:27 +0100 To: wtp@mud.pl Cc: freebsd-questions@freebsd.org From: Kevin Golding Subject: Re: FreeBSD as router References: <20020719134106.L96541-100000@kryptos.mud.pl> In-Reply-To: <20020719134106.L96541-100000@kryptos.mud.pl> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Someone, quite probably Krzysztof Stryjek, once wrote: >I was searching with google, but I was not able to find. I'm looking for >HOWTO or other docs, how to build FreeBSD box as router. My network is: > >+------+ +----------------+ >| |--IP1--| |---- Firm1 >| inet | | FreeBSD router | >| |--IP2--| |---- Firm2 >+------+ +----------------+ > >Well, IP1 is IP number from one ISP, and IP2 from other. Idea is to have a >spare connection, when one of them will be broken. > >What I need, is how to configure the kernel, /etc/rc.conf, some rules for >ipfw, natd(?). You'll find a fair deal about what you want in the following section of the handbook: http://www.freebsd.org/doc/handbook/advanced-networking.html I think the only thing it leaves out is ipfw rules, but I've seen them somewhere too. Check the archives for -security maybe? Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message