From owner-freebsd-questions Sat Aug 18 9:40:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web5301.mail.yahoo.com (web5301.mail.yahoo.com [216.115.106.110]) by hub.freebsd.org (Postfix) with SMTP id 6B84337B40F for ; Sat, 18 Aug 2001 09:40:17 -0700 (PDT) (envelope-from kf7nn@yahoo.com) Message-ID: <20010818164017.11970.qmail@web5301.mail.yahoo.com> Received: from [162.42.21.23] by web5301.mail.yahoo.com via HTTP; Sat, 18 Aug 2001 09:40:17 PDT Date: Sat, 18 Aug 2001 09:40:17 -0700 (PDT) From: george vagner Subject: Re: Gatewayt and Routing To: Brent Kearney , "Philip M. Gollucci" Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20010818010359.A89725@kearneys.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 you may need to rebuild the kernel with firewall support also. --- Brent Kearney wrote: > 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 > > __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message