Ubuntu Linux laptop roadwarrior to IPCop VPN 1.4.6

coaxx ulist at gs1.ubuntuforums.org
Fri Jul 22 13:34:45 UTC 2005


Frederic Soulier Wrote: 
> coaxx wrote:

> > thank U but it does not work for me. I can connect from a Windows Xp

> > client but not from kubuntu Hoary with openswan installed.

> 

> Ah well, it was bound to not work for some people ;)

> What's your setup?

> Is your VPN setup on the BLUE interface for the Wireless network? If

> yes, I haven't tried that so can't comment.

> 

> 





Yes its the blue interface. 



Here are my configs:



IPCOP CONFIG (/ETC/IPSEC.CONF) (VPN SERVER)



Code:
--------------------
    

  config setup

  interfaces="%defaultroute ipsec1=eth2"

  klipsdebug=none

  plutodebug=none

  plutoload=%search

  plutostart=%search

  uniqueids=yes

  nat_traversal=yes

  virtual_private=%v4:10.0.0.0/8,%v4:172.16.0.0/12,%v4:192.168.0.0/16,%v4:!192.168.1.0/255.255.255.0,%v4:!/255.255.255.0,%v4:!192.168.254.0/255.255.255.0

  

  conn %default

  keyingtries=0

  disablearrivalcheck=no

  

  conn bluevpn

  left=192.168.254.1 <-blue interface ip

  leftsubnet=0.0.0.0/0.0.0.0

  right=192.168.254.198 <-client ip !!!

  dpddelay=30

  dpdtimeout=120

  dpdaction=clear

  authby=secret

  auto=add

  
--------------------



Code:
--------------------
    

  /etc/ipsec.secrets

  192.168.254.1 192.168.254.198 : PSK "*******"

  
--------------------


UBUNTO CLIENT CONFIGT:

Code:
--------------------
    

  version 2.0

  conn localvpn

  left=%defaultroute

  right=192.168.254.1

  rightsubnet=0.0.0.0/0.0.0.0

  authby=secret

  auth=esp

  pfs=yes

  compress=no

  auto=add

  
--------------------




/etc/ipsec.secrets


Code:
--------------------
    

  : PSK "**********"

  
--------------------


-- 
coaxx




More information about the ubuntu-users mailing list