Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 11:49:21 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Michael P. Soulier" <msoulier@digitaltorque.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setting up a NAT gateway with PPPoE
Message-ID:  <447j4ssgse.fsf@be-well.ilk.org>
In-Reply-To: <fb6605670605101817k17ecbfb4wf64cb41c9346f074@mail.gmail.com> (Michael P. Soulier's message of "Wed, 10 May 2006 21:17:42 -0400")
References:  <fb6605670605101817k17ecbfb4wf64cb41c9346f074@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Michael P. Soulier" <msoulier@digitaltorque.ca> writes:

> People,
>
> I have just set up my 5.4 box as a gateway to my DSL connection. I
> used this section of the freebsd handbook.
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html
>
> I enabled NAT on the PPP connection, and viola, it works.

You have musical accompaniment?

> I still have to set up my firewall, but I'm curious about how natd works.
>
> Looking here
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html
>
> I tried to run natd, but I got an error that the socket type was not
> supported. Do I really need to recompile the GENERIC kernel in 5.4 to
> support NAT?

Yes.  See the section of that page titled "Configuration".

> I'm also unclear about how to tell natd which local networks to NAT.

The "divert" rule(s) in your ipfw configuration. 

> Also, why is NAT capability in both PPP and natd?

Convenience.




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