From owner-freebsd-newbies Sun Sep 23 23:20:30 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from mail.okb.lv (mail.okb.lv [195.114.34.131]) by hub.freebsd.org (Postfix) with ESMTP id A7A9937B425 for ; Sun, 23 Sep 2001 23:20:22 -0700 (PDT) Received: from krypt.okb.lv ([58.2.2.40]) by mail.okb.lv with esmtp MTA id 15lP91-0003H9-00 for freebsd-newbies@FreeBSD.org; Mon, 24 Sep 2001 09:23:07 +0300 Received: by krypt.okb.lv (Postfix, from userid 500) id 3B654866F; Mon, 24 Sep 2001 09:17:35 +0200 (EET) Date: Mon, 24 Sep 2001 09:17:35 +0200 To: freebsd-newbies@FreeBSD.org Subject: two gateways Message-ID: <20010924091735.A5853@krypt.okb.lv> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.3.22.1i X-Operating-System: Debian GNU/Linux Organisation: A/S Ogres KomercBanka, Riga, Latvia From: monster@okb.lv (Denis J. Cirulis) Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I was wondering if this scheme would work. Box #1 is FreeBSD-4.4-STABLE with two network interfaces. First interface has external ISP assigned addres, the second has fake ip address (RFC1918). On box #1 kernel is compiled with IPFILTER to do NAT for 10.0.1.0/24,10.0.2.0/24 and 10.0.3.0/24 and for stateful firewalling, to protect my fake lans. On the box #2 there is also FreeBSD-4.4-STABLE where default route is 10.0.0.1. Will this structure work ? I'm asking because i can't test it myself for now because i must switch all my networks but this is production environment. ISP assigned | +------+ | | | 1 | | | +------+ 10.0.0.1 | | | | 10.0.0.2 +------+ | | | 2 | | | +------+ 10.0.1.0/24 | 10.0.2.0/24 / | \ / | \ | 10.0.3.0/24 -- Just GNU it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message