From owner-freebsd-questions@FreeBSD.ORG Thu Jul 17 21:01:43 2003 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 3D86F37B401 for ; Thu, 17 Jul 2003 21:01:43 -0700 (PDT) Received: from serv1.wallnet.com (server1.wallnet.com [208.225.162.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EF2143FBD for ; Thu, 17 Jul 2003 21:01:42 -0700 (PDT) (envelope-from timothyk@wallnet.com) Received: (from root@localhost) by serv1.wallnet.com (8.11.5/8.11.5) id h6I41fI36096; Fri, 18 Jul 2003 00:01:41 -0400 (EDT) (envelope-from timothyk@wallnet.com) Received: from 10.0.1.9 (mts-327.wallnet.com [208.225.162.174]) by serv1.wallnet.com (8.11.5/8.11.5av) with ESMTP id h6I41dM36087; Fri, 18 Jul 2003 00:01:39 -0400 (EDT) (envelope-from timothyk@wallnet.com) From: Tim Kellers To: "Frans-Jan v. Steenbeek" , freebsd-questions@freebsd.org Date: Fri, 18 Jul 2003 00:01:00 -0400 User-Agent: KMail/1.5.2 References: <1058500610.260.8.camel@FST777> In-Reply-To: <1058500610.260.8.camel@FST777> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307180001.01127.timothyk@wallnet.com> X-Virus-Scanned: by AMaViS perl-11 Subject: Re: building a routing machine 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: Fri, 18 Jul 2003 04:01:43 -0000 Have a look at man natd, then come back with more questions. Tim Kellers CPE/NJIT On Thursday 17 July 2003 11:56 pm, Frans-Jan v. Steenbeek wrote: > Hi folks, > > I'm an active user of FreeBSD for quite some time now, and I'm not a > full newbie anymore, except for this part: > > I now have two PC's running, one is intended to be a webserver and the > other is my desktop-PC. I'm connected to the internet using a city-wide > network the university here offers. So I can use DHCP and TCP to connect > one PC to the net. > > my webserver has two LAN-cards, my desktop has one. My question is: how > do I connect these two with eachother so that both PC's can reach > internet? > > I've enabled routed on both systems, (-s on the webserver, -q on the > desktop) but that doesn't seem to be enough. I've read something about > routing and gateways in the handbook, but I didn't quite get it. So can > anyone help me out? > > Please CC me, I'm not (anymore) a user on this list. Thanks!