From owner-freebsd-questions Thu Feb 8 1:17:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id F2ABE37B69C for ; Thu, 8 Feb 2001 01:17:33 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 8 Feb 2001 01:15:41 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f189HWK26053; Thu, 8 Feb 2001 01:17:32 -0800 (PST) (envelope-from cjc) Date: Thu, 8 Feb 2001 01:17:32 -0800 From: "Crist J. Clark" To: Pontius Malmberg Cc: questions@FreeBSD.ORG Subject: Re: proxy/gateway/router Message-ID: <20010208011732.P91447@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <20010208090408.6032.qmail@web5301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010208090408.6032.qmail@web5301.mail.yahoo.com>; from p9nch@yahoo.com on Thu, Feb 08, 2001 at 01:04:08AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 08, 2001 at 01:04:08AM -0800, Pontius Malmberg wrote: > hi there: > i have @home cable modem and running a network with 8 > neighbors where i am providing them with internet > connection. i am using wingate right now as a > proxy/router (i guess it's called). it's working > pretty good, however, i would like to setup one of my > old Pentium 133MHz computers as a FreeBSD > proxy/router. > now, is there a way to setup a FreeBSD computer to do > the same as i am currently doing with wingate? would > ipfirewall or ipfw meet my needs? or that's just a > firewall and not a proxy/router? > > i don't know if i am using the correct lingo, but i > think it's called a router when you supply internal ip > addresses with internet connection like i do above > with wingate? A router just receives IP packets and decides where the next place to send them should be. You probably are not just routing. Does each of the eight machines have a globally valid IP address that you some how get from @Home? If they do, you may be doing routing (but I would more likely expect bridging). If they are not, you are doing network address translation (NAT). NAT seems to be what you are incorrectly calling proxying (but you seem to realize this). IPFilter, ipf(8), and IPFW, ipfw(8), do not do NAT themselves, but each has closely associated software that does the trick, ipnat(8) and natd(8), respectively. A simple NAT setup is quite easy to do. Have a look at the various documentation and feel free to come back with more specific questions. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message