From owner-freebsd-questions@FreeBSD.ORG Sat Aug 7 06:55:46 2004 Return-Path: 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 EEFAA16A4CE for ; Sat, 7 Aug 2004 06:55:46 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9636643D4C for ; Sat, 7 Aug 2004 06:55:28 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.circlesquared.com [127.0.0.1]) i776qfx0092937; Sat, 7 Aug 2004 07:53:42 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <41147C39.7020003@circlesquared.com> Date: Sat, 07 Aug 2004 07:52:41 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040611 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew References: <000f01c47be6$4484b9a0$0111a8c0@SATPC> In-Reply-To: <000f01c47be6$4484b9a0$0111a8c0@SATPC> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: ADSL (1 dyn IP) => FreeBSD => WinGate => NAT Network??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2004 06:55:47 -0000 Andrew wrote: > Hi! > > I've been using Wingate for months now to distribute an internet > connection among 10 users (NAT). Stunned by regular failures of Windows > 2000, Wingate and other evil software, I decided to switch to FreeBSD. I > read the handbook and about 3000 more pages of manuals / how-to's / > guides. I set up FreeBSD with all applications I currently need for > server tasks. > > I now need to test some applications, while keeping a part of the load > on the Wingate machine. What I want to do is connect to internet via > ADSL, using the bsd box, and let Wingate use the connection through the > box. > > What is the best way to retain most of the NAT functionality? > If you are happy to not know what Wingate is, try to assume that it is > just another nat-box. Can bsd somehow "forward" connection, so that the > nat-box almost feels like it has a real IP? There's no need to complicate this. The FreeBSD box will provide NAT for anything behind it, and if that includes the Wingate machine, fine, no problem. If the Wingate machine is in turn providing NAT for other machines, fine, no problem. If Wingate is using, say 192.168. addresses for it's Natted network, use, say 172.16. for the FreeBSD internal addresses. Peter.