From owner-freebsd-questions Sat Aug 18 1: 4:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from academy.kearneys.ca (academy.pims.sfu.ca [142.58.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 9562B37B40E for ; Sat, 18 Aug 2001 01:04:08 -0700 (PDT) (envelope-from brent@academy.kearneys.ca) Received: (from brent@localhost) by academy.kearneys.ca (8.11.3/8.11.3) id f7I83xu89855; Sat, 18 Aug 2001 01:03:59 -0700 (PDT) (envelope-from brent) Date: Sat, 18 Aug 2001 01:03:59 -0700 From: Brent Kearney To: "Philip M. Gollucci" Cc: freebsd-questions@freebsd.org Subject: Re: Gatewayt and Routing Message-ID: <20010818010359.A89725@kearneys.ca> References: <20010817032445.W2396-100000@p6m7g8.student.umd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010817032445.W2396-100000@p6m7g8.student.umd.edu>; from philip@p6m7g8.com on Fri, Aug 17, 2001 at 03:25:09AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 17, 2001 at 03:25:09AM -0500, Philip M. Gollucci wrote: > I'm guessing the problem is because ep2 isn't forwarding outbound traffic > to ep0. BUT, I though thats what the gateway_enable="YES" does. > > I have looked on the mailing list archives for about a day and didn't find > much to answer my question. I also looked in the handbook, but that > didn't help because it basically only talks about routing tables and not > how to actually setup the ones we need. I have also read the man pages > for ifconfig, and netstat. > > ----[CUT]---- > inetd_enable="YES" > > ifconfig_ep0="inet 129.2.x.y netmask 255.255.255.0" > ifconfig_ep2="inet 192.168.69.1 netmask 255.255.255.0" > > defaultrouter="129.2.x.1" > hostname="hostname.com" > > router_flags="-s" > router="routed" > router_enable="YES" > gateway_enable="YES" > ----[END]---- Hi Philip, You should also have: natd_enable="YES" natd_interface="ep0" ## -optional- ## natd_flags="-log_denied" in your /etc/rc.conf file. The natd man page, and corresponding sections of the handbook (and mailling list queries, if need be) will prove informative. Cheers, Brent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message