[Openswan Users] Can't authenticate: no preshared key found

Andrew Johnstone andrew at ajohnstone.com
Tue Dec 26 11:07:05 EST 2006


Hi
    Currently getting the following error when starting ipsec up.
    ipsec auto --down comstock
    [root at server1 log]# ipsec auto --up comstock
    104 "comstock" #5: STATE_MAIN_I1: initiate
    003 "comstock" #5: ignoring unknown Vendor ID payload  [4048b7d56ebce88525e7de7f00d6c2d3c0000000]
    003 "comstock" #5: Can't authenticate: no preshared key found for `122.252.4.168' and         `208.47.215.167'.  Attribute OAKLEY_AUTHENTICATION_METHOD
    003 "comstock" #5: no acceptable Oakley Transform
    214 "comstock" #5: STATE_MAIN_I1: NO_PROPOSAL_CHOSEN
    My configuration file is.
    conn comstock
            leftsubnet=122.252.4.1/32
            leftnexthop=%defaultroute
            left=122.252.4.168
            right=208.47.215.167
            rightsubnet=192.168.30.0/24
            rightnexthop=208.47.215.129
            auto=start
            authby=secret
            espauthkey=V.....^B
            esp=3des-md5-96
            auth=esp
    I also appended
    this to /etc/ipsec.secrets
    122.252.4.168 %any: PSK "Vg.....^B"
    Any idea what i'm doing wrong?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20061226/3e9bbefe/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Andrew Johnstone.vcf
Type: text/x-vcard
Size: 136 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/users/attachments/20061226/3e9bbefe/attachment.vcf 


More information about the Users mailing list