NATd error Message
Kevin D. Kinsey, DaleCo, S.P.
kdk at daleco.biz
Thu Mar 25 11:34:18 PST 2004
JP wrote:
>Hey Gang--
>
>I recompiled my kernel to include support for firewall
>and such.
>
>
>
>
OK, we kinda know what you mean. So I'll kinda
give you an answer. You kinda did something
wrong ;-)
Seriously, exactly what did you add to your kernel
config?
>
>After creating my rules file, fwrules and
>rebooting this is the error I am getting:
>
>natdnatd: Unable to create divert socket. Protocol
>not supported
>
>Can someone explain whats wrong?
>
>Thanks
>
>
>
I'm guessing that either you didn't add
options IPDIVERT
to your kernel, or your didn't do
gateway_enable="yes" in /etc/rc.conf.
If the latter is the case, try issuing
#sysctl net.inet.ip.forwarding=1
and then try natd.
HTH,
Kevin Kinsey
DaleCo, S.P.
More information about the freebsd-questions
mailing list