From owner-freebsd-questions@FreeBSD.ORG Sat Aug 7 13:25:27 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 1060E16A4CE for ; Sat, 7 Aug 2004 13:25:27 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E6743D2F for ; Sat, 7 Aug 2004 13:25:26 +0000 (GMT) (envelope-from infofarmer@mail.ru) Received: from [83.237.13.66] (port=5488 helo=SATPC) by mx2.mail.ru with smtp id 1BtRCP-000BBV-00; Sat, 07 Aug 2004 17:25:25 +0400 Message-ID: <000701c47c82$a6492260$0111a8c0@SATPC> From: "Andrew" To: "Peter Risdon" References: <000f01c47be6$4484b9a0$0111a8c0@SATPC> <41147C39.7020003@circlesquared.com> Date: Sat, 7 Aug 2004 17:30:04 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Spam: Not detected cc: questions@freebsd.org Subject: Solved: 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 13:25:27 -0000 Peter Risdon wrote: > Andrew wrote: > > 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. Thanks, that's how I planned to do it. I just though there might be a way to forward/redirect packets in order to avoid natd. But on the other hand, I'll test natd this way as well. Best regards, Andrew