Single IP host and IPsec tunnel mode experience

Jacques A. Vidrine nectar at FreeBSD.org
Wed Apr 16 05:36:23 PDT 2003


On Tue, Apr 15, 2003 at 10:23:35PM -0700, Crist J. Clark wrote:
> 'uname -a'?

The endpoints were both 4.7.

> I can't reproduce this on a 4.8 to 4.7 tunnel. On
> 192.168.64.70,
> 
>   spdadd 192.168.64.70/32 10.0.0.0/24 any -P out
> 	ipsec esp/tunnel/192.168.64.70-192.168.64.20/require;
>   spdadd 10.0.0.0/24 192.168.64.70/32 any -P  in
> 	ipsec esp/tunnel/192.168.64.20-192.168.64.70/require;
> 
> And on 192.168.64.20, the gateway to 10.0.0.0/24,
> 
>   spdadd 192.168.64.70/32 10.0.0.0/24 any -P  in
> 	ipsec esp/tunnel/192.168.64.70-192.168.64.20/require;
>   spdadd 10.0.0.0/24 192.168.64.70/32 any -P out
> 	ipsec esp/tunnel/192.168.64.20-192.168.64.70/require;
> 
> Works fine.

Hmm, yes, that appears to be exactly what I'm trying to do.  Well,
that's heartening ... it means that there is likely some anomoly in my
environment that is hosing me.  Now if only I can figure what it is :-)
-- 
Jacques A. Vidrine <nectar at celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine at verio.net     .  nectar at FreeBSD.org  .          nectar at kth.se


More information about the freebsd-hackers mailing list