So I’m trying to do a road warrior configuration again. Choices are basically SSH Sentinel ($120/license, IIRC) or L2TP-over-IPSec. I’m trying the latter right now since it’s free and what most clients would prefer.
Here’s some rebuttals for other things you might be considering. No CIPE, as it supposedly doesn’t support XP yet. Win2K (and I think XP) built-in IPSec isn’t happening easily, since a tunnel requires you to enter the — dynamic! — IP of the Windows box as the tunnel endpoint for one of the two tunnel rules you need. Cisco IPSec client appears to fuck up with trying to do its own Cisco (or maybe IETF draft) authentication that FreeS/WAN isn’t having. PGPNet client is, like, gone. Last I tried the SafeNet client it was slower than balls — and they don’t have a trial for download on their web site. PPTP is out because, as near as I can tell, it still has the same flaws that it always has.
(FYI, I found some information on people basically scripting the tunnel endpoint part. The Windows 2000 VPN Tool could be used to do it; just run it once at every start-up — maybe. I don’t know if it supports filling in the Win2K box’s IP automatically or not. Kaspar Brand has a script for modifying the IPSec policy with the Win2K box’s IP. Adam Lambert has another script for filling in the Win2K box’s dynamic IP to the IPSec policy.)
So now that we’ve got that out of the way. I’ve got the IPSec part of
L2TP-over-IPSec working (I think). The L2TP part is perhaps being a
pain right now, though. rp-l2tp
is getting EAGAIN from recvfrom when it tries to read the
packets that are coming in on the L2TP port on ipsec0. It’s not just
rp-l2tp’s l2tpd though, it’s netcat as well. netcat actually sits
in a blocking recvfrom whereas l2tpd does a select that
gets woken up and then calls recvfrom; both get EAGAIN,
though, and I can’t immediately tell why. tcpdump was able to
capture the entire packet body, as near as I can tell. I suppose
iptables could be a problem; may need to check it out. May also try
l2tpd.
I’m a bit concerned about getting addresses out to the clients still.
l2tpd might actually be better at giving out addresses than rp-l2tp,
since I think rp-l2tp requires you to have a DHCP server and use the
mysterious DHCP plug-in for pppd.
Remind me to buy a Cisco VPN concentrator.
Been playing with LISP some more. defmethod is way cool. Things
in LISP seem to “just work.” Also, it feels like LISP has been doing
things for years the ways that other languages have only recently
begun doing things. Naturally the other languages try to convince you
that it’s some sort of revelation, I think. Using stuff like
:before and :around in defmethod feels much like AOP for
whatever reason.
I’m talking out of my ass. THPPT THPPT FAAART. Time for bed.