Hi,
I have been trying to get openswan running for a couple of days now, without succes. And i'm out of ideas. I desprately seeking for help.
What i have so far:
Installed packeges: gmp, mawk, openswan, openswan-module and ipsecgre. Rebuild busybox to meet openswan requirments (tr, hostname... ). Patched kernel with updates including natt patch. I have this ipsec config:
# /etc/ipsec.conf - Openswan IPsec configuration file
version 2.0
# Basic configuration
config setup
interfaces="ipsec0=ppp0 ipsec1=br0"
nat_traversal=yes
uniqueids=no
klipsdebug=none
plutodebug=none
# Add connections here
conn wireless
left=192.168.3.1
leftsubnet=192.168.2.0/24
right=%any
authby=secret
pfs=yes
auto=add
conn roadwarrior
left=80.126.97.26
leftsubnet=192.168.2.0/24
right=%any
authby=secret
pfs=yes
auto=add
#Disable Opportunistic Encryption
include /etc/ipsec.d/examples/no_oe.conf
Looking through the syslog, everything seems to be in order (except for the empty dir message):
Jan 1 00:00:30 (none) kern.warn pluto[664]: Starting Pluto (Openswan Version 2.2.0dr2 X.509-1.4.8 PLUTO_SENDS_VENDORID PLUTO_USES_KEYRR; Vendor ID OEyjIiTARI177A)
Jan 1 00:00:31 (none) kern.warn pluto[664]: including NAT-Traversal patch (Version 0.6c)
Jan 1 00:00:32 (none) kern.warn pluto[664]: ike_alg_register_enc(): Activating OAKLEY_AES_CBC: Ok (ret=0)
Jan 1 00:00:33 (none) kern.warn pluto[664]: Changing to directory '/etc/ipsec.d/cacerts'
Jan 1 00:00:33 (none) kern.warn pluto[664]: Changing to directory '/etc/ipsec.d/aacerts'
Jan 1 00:00:33 (none) kern.warn pluto[664]: Changing to directory '/etc/ipsec.d/ocspcerts'
Jan 1 00:00:33 (none) kern.warn pluto[664]: Changing to directory '/etc/ipsec.d/crls'
Jan 1 00:00:33 (none) kern.warn pluto[664]: Warning: empty directory
Jan 1 00:00:35 (none) kern.warn pluto[664]: listening for IKE messages
Jan 1 00:00:35 (none) kern.warn pluto[664]: adding interface ipsec0/ppp0 80.xx.xx.xx
Jan 1 00:00:35 (none) kern.warn pluto[664]: adding interface ipsec0/ppp0 80.xx.xx.xx:4500
Jan 1 00:00:35 (none) kern.warn pluto[664]: adding interface ipsec1/br0 192.168.3.1
Jan 1 00:00:35 (none) kern.warn pluto[664]: adding interface ipsec1/br0 192.168.3.1:4500
Jan 1 00:00:35 (none) kern.warn pluto[664]: loading secrets from "/etc/ipsec.secrets"
Now i try to make a ipsec-tunnel from my wireless windowsxp host to the WRTbox. As far as my knowledge goes of windows, i think i setup everything correctly. The syslog comes with the following error:
Jan 1 00:00:54 (none) kern.warn pluto[664]: packet from 192.168.3.198:500: ignoring Vendor ID payload [MS NT5 ISAKMPOAKLEY 00000004]
Jan 1 00:00:54 (none) kern.warn pluto[664]: packet from 192.168.3.198:500: ignoring Vendor ID payload [FRAGMENTATION]
Jan 1 00:00:54 (none) kern.warn pluto[664]: packet from 192.168.3.198:500: received Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n]
Jan 1 00:00:54 (none) kern.warn pluto[664]: packet from 192.168.3.198:500: ignoring Vendor ID payload [26244d38eddb61b3172a36e3d0cfb819]
Jan 1 00:00:54 (none) kern.warn pluto[664]: packet from 192.168.3.198:500: initial Main Mode message received on 192.168.3.1:500 but no connection has been authorized
Searching the web for above error, i got results which all point out to an error in the ipsec.conf. But i don't know where to look now... Could someone give me a clue :?:
Thanx Y'all