Date: Sun, 22 Oct 2000 23:09:18 +0200 From: Nimrod Mesika <nimrodm@bezeqint.net> To: freebsd-current@FreeBSD.ORG Subject: Re: divert as module? Message-ID: <20001022230918.B440@localhost.bsd.net.il> In-Reply-To: <009701c03c61$c305b7c0$0e00a8c0@neland.dk>; from leifn@neland.dk on Sun, Oct 22, 2000 at 09:52:03PM %2B0200 References: <009701c03c61$c305b7c0$0e00a8c0@neland.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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). -- Nimrod. http://www.geocities.com/rodd_27 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001022230918.B440>