From: randall ehren <[EMAIL PROTECTED]>
To: David Kelly <[EMAIL PROTECTED]>
CC: Christophe Simon <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: Internet connection sharing
Date: Sun, 22 Dec 2002 11:15:17 -0800 (PST)
> > I'm trying to configure an old K6 200 as a gateway to share my internet
> > connection at home. My LAN connected interface is xl0 (192.168.0.1), and my
> > internet connected interface is ed0 (DHCP).
> > I followed the instructions to make a filtering bridge :
> IMO you don't want a filtering bridge. You want a NAT Gateway. Enable
> the gateway kernel option, may have to compile divert sockets into the
> kernel, ipfw is needed to divert packets to natd, run natd.
or you can use IPFILTER, less involved setup:
in your case, fxp0 = ed0 and xl0 = wi0 (corresponding to the guide above)
:// randall s. ehren :// voice 805.893.5632
:// systems administrator :// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research
I succeeded in configuring my pc as an internet gateway. I had problems with the the page you indicated me (but it's very well done and documented).
Here's the method i used :
* In the kernel configuration file for compilation:
options IPFIREWALL_VERBOSE (to log firewall)
options IPFIREWALL_VERBOSE_LIMIT=100 (log limits)
* In the rc.conf file (on a 192.168.0.0 network)
ifconfig_xl0="inet 192.168.0.1 netmask 0xffffff00" (LAN connection"
firewall_type="open" (or any firewall rules)
I hope it will be of any utility...
Thanks a lot for your help !
MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message