Problems with NAT on gif interface for VPN
Jeremie Le Hen
jeremie at le-hen.org
Tue Nov 2 04:40:15 PST 2004
> Yep, that seems to be exactly what I need. I don't suppose there are
> any plans to implement something similar in FreeBSD anytime soon?
> Considering I'm so close to getting this to work it's frustrating to
> think that I would need to migrate to OpenBSD to have this
> functionality and uproot everything else this server already does
> (mail, dns, web, etc).
Considering if_enc.c from OpenBSD's HEAD (see URLs at the bottom), it
does not seem to be difficult to port to FreeBSD, but since I'm not a
kernel guru at all, there may be some issues I don't even suspect.o
I'm concious that making it FreeBSD's SMP compliant should require a
little amount of work, but it could be maked with the IFF_NEEDSGIANT
flag for a first step. Are there any reason why we would not need nor
want this in FreeBSD ?
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_enc.c?rev=1.41&content-type=text/x-cvsweb-markup
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_enc.h?rev=1.8&content-type=text/x-cvsweb-markup
--
Jeremie Le Hen
jeremie at le-hen.org
More information about the freebsd-net
mailing list