Date: Sat, 18 Aug 2001 01:03:59 -0700 From: Brent Kearney <brent@kearneys.ca> To: "Philip M. Gollucci" <philip@p6m7g8.com> Cc: freebsd-questions@freebsd.org Subject: Re: Gatewayt and Routing Message-ID: <20010818010359.A89725@kearneys.ca> In-Reply-To: <20010817032445.W2396-100000@p6m7g8.student.umd.edu>; from philip@p6m7g8.com on Fri, Aug 17, 2001 at 03:25:09AM -0500 References: <20010817032445.W2396-100000@p6m7g8.student.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 17, 2001 at 03:25:09AM -0500, Philip M. Gollucci wrote: <snip> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010818010359.A89725>