On Sun, Oct 22, 2000 at 09:52:03PM +0200, Leif Neland wrote:
> But the command
> "ipfw add divert natd all from any to any via tun0 "
> fails:
> 00000 divert 8668 ip from any to any via tun0
> ipfw: setsockopt(IP_FW_ADD): Invalid argument

I don't know about a kernel module, but when ipfw is compiled as
part of the kernel you also need:

options IPDIVERT

to enable divert sockets. Maybe you can just recompile the module.
I'm not sure.

> Or can I use ppp's nat together with ipfw?

I see no reason why you can't. In fact, it will probably be more
efficient as you will not need two user processes (ppp and natd).


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to