[Openswan Users] VPN over WLAN to IPCop

Waldemar Brodkorb wbx at luusa.org
Thu Sep 2 01:09:30 CEST 2004


Hi,
Piers Kittel wrote,

> Hi all,
> 
> Am trying to make a VPN connection to IPCop 1.4b4 - I tried to set up 
> using Windows first, and after a while, I have succeeded.  But now I 
> want to set up the same connection to IPCop but for Linux.  Here is the 
> ipsec.conf file on IPCop (autocreated when I did stuff in the VPN 
> section, but added in "pfs=no" myself):
> 
> conn VPN
>         left=192.168.2.1
>         leftsubnet=0.0.0.0/0.0.0.0
>         right=%any
>         rightsubnet=vhost:%no,%priv
>         dpddelay=30
>         dpdtimeout=120
>         dpdaction=clear
>         authby=secret
>         auto=add
>         pfs=no
> 
> and here's the ipsec.conf file I use on Windows:
> 
> conn Home
> 	left=192.168.2.1
> 	leftsubnet=*
> 	right=%any
> 	presharedkey=<hidden>
> 	network=auto
> 	auto=start
> 
> and it works just fine.  As for Linux, I'm using Debian 3.1 Sarge, with 
> OpenSwan 2.1.5 with kernel 2.4.26.  I copied and modified the ipsec.conf 
> file slightly and here is what I have:

The syntax off ipsec.conf for Windows ipsec.exe is not the same as
OpenS/WAN would accept. Don't forget this. 

bye
    Waldemar


More information about the Users mailing list