NATd error Message

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Thu Mar 25 16:30:13 PST 2004


JP wrote:

>--- "Kevin D. Kinsey, DaleCo, S.P." <kdk at daleco.biz>
>wrote:
>  
>
>>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.
>>    
>>
>
>*grin*  I added the following to my kernel:
>
>options IPFIREWALL
>options IPFIREWALL_VERBOSE
>options IPFIREWALL_VERBOSE_LIMIT=100
>options IPDIVERT
>
>  
>

And, did you see the second part of my
message, you top-poster, you ? ;-)

KDK



More information about the freebsd-questions mailing list