From owner-freebsd-questions Sat Aug 1 00:15:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA12238 for freebsd-questions-outgoing; Sat, 1 Aug 1998 00:15:50 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclops.xtra.co.nz (cyclops.xtra.co.nz [202.27.184.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA12233 for ; Sat, 1 Aug 1998 00:15:47 -0700 (PDT) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker (210-55-210-87.ipnets.xtra.co.nz [210.55.210.87]) by cyclops.xtra.co.nz (8.8.8/8.8.8) with SMTP id TAA22748; Sat, 1 Aug 1998 19:15:35 +1200 (NZST) Message-Id: <199808010715.TAA22748@cyclops.xtra.co.nz> From: "Dan Langille" Organization: DVL Software Limited To: freebsd-questions@FreeBSD.ORG Date: Sat, 1 Aug 1998 19:15:36 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Please help with natd!!!! Reply-to: junkmale@xtra.co.nz CC: "David W. Curry" X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 31 Jul 98, at 22:37, David W. Curry wrote: > Thanks for the response. Your explanation helped a little on my > understanding of natd. However, I don't understand how to set up the > divert option. In my webpages, there should be a reference to http://www.freebsd.org/cgi/man.cgi?natd, but there wasn't. I've since added it to the website. Have a look at that to see how to set this up. Does that make sense? > Also, I can only assume that the interface device I am > suppose to use is tun0 (or is it ed0) edo is the outside world, for an ethernet card (NE2000) or similar. > Also, I am guessing my clients are > suppose to be setup up through a proxy with the port I choose for the > divert option. I didn't have to do anything to the other machines on my subnet except make my freebsd box their default gateway. > But is host suppose to be my bsd box's ip address? I don't know what you mean. Your freebsd box should have two network cards. ed0 is to your ISP and is the IP number assigned to you by them. ed1 is connected to your subnet and determined by you. All of your machines will refer to the IP assigned to ed1 and use that as their gateway. Does this make sense? -- Dan Langille DVL Software Limited http://www.dvl-software.com/freebsd : my [mis]adventures To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message