setting up a FreeBSD access point (hostap, natd)

Kristof Provost kp at
Fri Nov 25 11:46:17 UTC 2016

On 25 Nov 2016, at 12:34, Christoph P.U. Kukulies wrote:
> Now when I start /sbin/natd -n re0
natd is generally used in combination with ipfw. pf has its own NAT code.
I’d avoid trying to mix the two.

If you want to get pf to do nat you’ll want something like this in pf.conf:

	nat on re0 inet from to any -> (re0)

The way to set up ipfw with natd is documented in the handbook.


More information about the freebsd-questions mailing list