[Openswan Users] ipsec client with openswan problem

Chun Cui bss03arg at studserv.uni-leipzig.de
Sun Nov 26 06:58:24 EST 2006


Hello All,
i have a problem, i'm going to connect a vpn gateway with openswan and 
the network is like below
notebook(192.168.0.101)---> (192.168.0.1)DSL-Router(139.18.199.101) 
--Internet--> VPN-Gateway(10.0.0.0/24)

how can i config the ipsec.conf to connect the vpn gateway with PSK, 
with this conf i got always the errors:

version 2
config setup
     interfaces=%defaultroute
     #klipsdebug=none
     #plutodebug=none

conn %default
     authby=secret
     type=tunnel
     #type=passthrough
     #left=%defaultroute
     keyexchange=ike
     pfs=yes
     keyingtries=1
     #keylife=1200s
     #ikelifetime=1200s
     #auth=esp
conn htg
     auto=start
     left=192.168.0.101
     #left=%defaultroute
     leftid=@client
     leftsubnet=192.168.0.0/24
     leftnexthop=139.18.199.101
     right=www.vpn.org
     rightid=@server
     rightsubnet=10.1.0.0/24
     rightnexthop=10.1.0.1


ipsec__plutorun: 025 "packetdefault": cannot route connection without 
knowing our nexthop
ipsec__plutorun: 025 "packetdefault": could not route
ipsec__plutorun: ...could not route conn "packetdefault"
......

by the way i can connect the vpn gateway with greenbow ipsec client.
thanks!!!

Chun


More information about the Users mailing list