Ubuntu Linux laptop roadwarrior to IPCop VPN 1.4.6

Frederic Soulier frederic at wallaby.uklinux.net
Thu Jul 21 08:22:13 UTC 2005


Hi

I've an IPCop firewall 1.4.6 setup with VPN activated with a pre- 
shared key.
I can connect to it without problem using IPSecuritas from a Mac OS X  
roadwarrior or TheGreenBow VPN from a Windows XP Pro roadwarrior but  
so far no luck with connecting from a Linux roadwarrior running  
Ubuntu Hoary (5.0.4)...

Ubuntu laptop (using a wireless Netgear WG511 card):
    IP: 192.168.0.121

$ sudo apt-get install openswan (to get Openswan installed)

Then I edited /etc/ipsec.conf
* /etc/ipsec.conf *
===================
version 2

conn office
     left=%defaultroute
     right=<public IP of the IPCop VPN>
     rightsubnet=192.168.50.0/24
     auto=add


Then I edited /etc/ipsec.secrets
* /etc/ipsec.secrets *
======================
: PSK "my pre-shared key"


Then I start IPsec
$ sudo /etc/init.d/ipsec start
ipsec_setup: Starting Openswan IPsec 2.3.0...
(then it loads 3 modules: af_key.ko, xfrm4_tunnel.ko and xfrm_user.ko)

Then I try to bring the connection up
$ sudo ipsec auto --up office
104 "office" #1: STATE_MAIN_I1: initiate
010 "office" #1: STATE_MAIN_I1: restransmission; will wait 20s for  
response
010 "office" #1: STATE_MAIN_I1: restransmission; will wait 40s for  
response
....
So I just Ctrl-C here because it does do anything good.

Trying to ping my internal netwwork gives:
connect: Resource temporarily unavailable

I have to stop IPsec to get my network back...
$ sudo /etc/init.d/ipsec stop


Any info would be appreciated. Thanks.

--
Frederic P. Soulier
OpenPGP key available on http://pgpkeys.mit.edu/
1024D/BA6700ED   49A6 8E8E 4230 8D41 1ADE  B649 3203 1DD2 BA67 00ED






More information about the ubuntu-users mailing list