Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 06:06:28 -0700 (PDT)
From:      Chris P <freebsd@rawfire.torche.com>
To:        Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NAT + 5.0-RELEASE #0
Message-ID:  <20030512060506.C6874@rawfire.torche.com>
In-Reply-To: <20030512033615.P88785@Gina.esfm.ipn.mx>
References:  <20030511202927.A827@rawfire.torche.com> <20030512033615.P88785@Gina.esfm.ipn.mx>

next in thread | previous in thread | raw e-mail | index | archive | help

Have you actually done this with 5.0?   This is really all I need to know.

Thanks.

C.

On Mon, 12 May 2003, Eduardo Viruena Silva wrote:

> On Sun, 11 May 2003, Chris P wrote:
>
> >
> > I'm having some issues getting NAT working.
> >
> > It all worked great on 4.8, but I had to tweak the kernel to get it to
> > work.  Anyone else have issues with it working on a stock kernel with 5.0?
>
> include these lines to your kernel description:
>
> 	options	IPDIVERT
> 	options	IPFIREWALL
>
> compile your kernel and install it.
>
> >
> > My net is coming in on an0, and I'm wanting to share it to the house on
> > dc0.
>
> add these lines to your /etc/rc.conf:
>
> 	natd_enable="YES"
> 	natd_interface="an0"
>
> and give your dc0 interface an IP, v. gr:
>
> 	ifconfig_dc0="inet 192.168.1.254 netmask 255.255.255.0"
>
> enable your firewall
>
> 	firewall_enable="YES"
>
> and choose a type for your firewall.
>
> 	firewall_type="file_name"
>
> of course, (full path) file_name  contains the rules for your
> firewall.
>
>
> > dhcp is up and running fine, and the connection to the net is
> > working fine also, just cant get em talking to each other!
> >
> > Any help is appreciated!
> > Thanks..
> >
> > C.
> >
>
> 	Eduardo.
>
> --
> 2B | ~ 2B == ?
>
> 	Hamlet
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030512060506.C6874>