Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2004 13:34:15 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        JP <planoprez@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NATd error Message
Message-ID:  <40633437.4060505@daleco.biz>
In-Reply-To: <20040325185943.50074.qmail@web40110.mail.yahoo.com>
References:  <20040325185943.50074.qmail@web40110.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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