From owner-freebsd-net Wed Apr 14 7:20: 2 1999 Delivered-To: freebsd-net@freebsd.org Received: from SIMULTAN.CH (eunet-gw.simultan.ch [194.191.191.82]) by hub.freebsd.org (Postfix) with ESMTP id 5121714ECF for ; Wed, 14 Apr 1999 07:19:42 -0700 (PDT) (envelope-from tseidmann@simultan.ch) Received: from simultan.ch (wsaltis-053.SIMULTAN.CH [192.92.128.53]) by SIMULTAN.CH (8.9.2/8.9.2) with ESMTP id PAA55177; Wed, 14 Apr 1999 15:26:15 +0200 (CEST) (envelope-from tseidmann@simultan.ch) Message-ID: <37149772.AE041694@simultan.ch> Date: Wed, 14 Apr 1999 15:26:10 +0200 From: Thomas Seidmann X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "thomas.uhrfelt@plymovent.se" Cc: "'freebsd-net@freebsd.org'" Subject: Re: steps in networking References: <01BE8681.3FC5E6B0.thomas.uhrfelt@plymovent.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thomas Uhrfelt wrote: > > Is there anyone out there that could write up a little "manual" of the > different steps on what to do/edit to accomplish the below description > using FreeBSD + ipfw + NAT or FreeBSD + IPF + IPNAT.. > > INTERNAL (192.168.1.xx) ------ (192.168.1.1)FreeBSD box(192.168.2.2) > -------- (192.168.2.1)Congo Router(Dynamic IP)-------Internet [stuff deleted] I'm afraid you cannot handle this case with neither NAT variant mentioned above, since you need a public IP address on the machine doing the actual NAT. So you have basically two possibilities: 1. Perform NAT on the router itself, provided it can (I guess it doesn't) 2. Connect the FreeBSD box directly to the Internet, i.e. replace the router with it - that's what I'm doing at our site (medium business). Depending on the interface your router has to connect to your ISP you may need to obtain a sychronous communication adapter - we are using SDLComm's N2, i.e. the FreeBSD 'sr' device. Let me know if I can help you in case you choose the 2nd variant, though it's nicely documented in the FreeBSD Handbook and natd(8). > Thomas Uhrfelt Cheers, Thomas -- ========================================================== Thomas Seidmann Simultan AG, CH-6246 Altishofen, Switzerland mailto:tseidmann@simultan.ch tel +41.62.7489000 http://www.simultan.ch/~thomas fax +41.62.7489010 ========================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message