[Openswan Users] Creating Win XP vpn connection

peters at exemplar-associates.com peters at exemplar-associates.com
Wed Apr 26 12:02:45 CEST 2006


I am working on two issues with establishing the ipsec connection

1. =22no suitable connection for peer=22 error.
2. the ipsec.secrets file is not working.

I changed the passphrase for %prompt to see if it was being read
and had to use ipsec secrets to get it to do anything (I am now using
the book by P. Wouters & K. Bantoft)


Xray:=7E=24 sudo ipsec secrets
Enter secret:
040 need passphrase for '/etc/ipsec.d/private/xray.exemplarassociates.key'
004 valid passphrase, private key loaded successfully

The authlog doesn't look the same as the one in the book, it doesn't
show changes to the various cert directories just the loading
secrets and loading private key file messages.

ipsec auto --listall
only shows the CA and 2 revoked certificates which is odd.

Xray:=7E=24 sudo ipsec verify

Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path                                 =5BOK=5D
Linux Openswan U2.4.0/K2.6.12-9-386 (netkey)
Checking for IPsec support in kernel                            =5BOK=5D
Checking for RSA private key (/etc/ipsec.secrets)               =5BFAILED=5D
ipsec showhostkey: no default key in =22/etc/ipsec.secrets=22
Checking that pluto is running                                  =5BOK=5D
Two or more interfaces found, checking IP forwarding            =5BOK=5D
Checking NAT and MASQUERADEing                                  =5BOK=5D
Checking for 'ip' command                                       =5BOK=5D
Checking for 'iptables' command                                 =5BOK=5D
Checking for 'setkey' command for NETKEY IPsec stack support    =5BOK=5D
Opportunistic Encryption Support                                =
=5BDISABLED=5D



Regards,

Peter


More information about the Users mailing list