Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 10:40:00 -0600
From:      Ernie <ern001@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   spdadd IPSec tunnel with AH+ESP
Message-ID:  <726b9b2105081809406dffa54f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to setup FreeBSD 5.4 in tunnel mode with AH+ESP, what is
the appropriate spdadd syntax to pass to setkey to set this policy?

Currently I'm trying,

spdadd 192.168.1.60 192.168.1.250 any -P out ipsec
esp/tunnel/192.168.1.60-192.168.1.250/use
ah/tunnel/192.168.1.60-192.168.1.250/use;
spdadd 192.168.1.250 192.168.1.60 any -P in ipsec
esp/tunnel/192.168.1.250-192.168.1.60/use
ah/tunnel/192.168.1.250-192.168.1.60/use;

but cannot get it to interop with vxWorks or Windows XP, but those two
interop just fine, so I'm supposing that my spd policies are setup
incorrectly. Also the same setup works perfectly with both vxWorks and
Windows XP in transport mode. Anyway just want to know what is the
correct way of setting up AH+ESP for spd.

Thanks,
Ernie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?726b9b2105081809406dffa54f>