[Openswan Users] no connection named "sitetest"
kelvin
kanava88 at gmail.com
Thu Nov 9 22:30:09 EST 2006
i am trying to establish a vpn between two host,and having some problem.
here is my configuration
left:
ipsec.conf
config setup
plutowait=yes
conn %default
conn sitetest
authby=secert
type=tunnel
auto=start
left=172.16.0.102
right=172.16.0.101
----------
ipsec.secrets
172.16.0.101 172.16.0.102: PSK "hellokelvin"
right:
config setup
plutowait=yes
conn %default
conn sitetest
authby=secert
type=tunnel
auto=start
left=172.16.0.102
right=172.16.0.101
----------
ipsec.secrets
172.16.0.101 172.16.0.102: PSK "hellokelvin"
but when i start ipsec ,the log show somthing like this:
Nov 11 18:22:04 site2 pluto[4532]: listening for IKE messages
Nov 11 18:22:04 site2 pluto[4532]: adding interface eth4/eth4
172.16.0.102:500
Nov 11 18:22:04 site2 pluto[4532]: adding interface eth5/eth5
10.9.88.102:500
Nov 11 18:22:04 site2 pluto[4532]: adding interface lo/lo 127.0.0.1:500
Nov 11 18:22:04 site2 pluto[4532]: adding interface lo/lo ::1:500
Nov 11 18:22:04 site2 pluto[4532]: loading secrets from "/etc/ipsec.secrets"
Nov 11 18:22:05 site2 ipsec__plutorun: 021 no connection named "sitetest"
Nov 11 18:22:05 site2 ipsec__plutorun: ...could not route conn "sitetest"
Nov 11 18:22:05 site2 ipsec__plutorun: 021 no connection named "sitetest"
Nov 11 18:22:05 site2 ipsec__plutorun: ...could not start conn "sitetest"
i dont know what is wrong with this configuration,
fangzheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20061110/6ff2fe69/attachment.html
More information about the Users
mailing list