Hi Hi fixin the syntax error in the ipsec.secrets did the job! Also changing the leftid and right id into the local ip-addresses (192.168.141.10 and 192.168.141.10) helped, but these can be omitted in the simple case Andreas, You are the man! Thanks, Kristian
-----Original Message----- From: Andreas Steffen [mailto:[email protected]] Sent: 22. juni 2012 19:30 To: Huang, Ricky Cc: Lippert Kristian; [email protected] Subject: Re: [strongSwan] IKEv2 problem for PSK between 2 x ubuntu 12.04 hosted by VMware player Yes, if you don't define leftid|rightid then by default leftid|rightid=left|right but if you define the IDs either as an FQDN or an RFC822 address then you must use those in ipsec.secrets. Regards Andreas Regards On 06/22/2012 06:33 PM, Huang, Ricky wrote: > On Jun 22, 2012, at 7:08 AM, "Andreas Steffen" > <[email protected]> wrote: > >> Hi Kristian, >> >> several things are wrong in your setup: >> [...] >> >> 2) There is syntax error in your ipsec.secrets: >> >> 192.168.141.10 192.168.141.20: PSK "Faxe Kondi Er Gudedrik" >> [...] >> >> The ':' separator must be surrounded by whitespace and rightid/leftid >> must be used: >> >> superman batman : PSK "Faxe Kondi Er Gudedrik" >> > > If she does not declare leftid/rightid, then can she can leave it as IP > addresses only? ====================================================================== Andreas Steffen [email protected] strongSwan - the Linux VPN Solution! www.strongswan.org Institute for Internet Technologies and Applications University of Applied Sciences Rapperswil CH-8640 Rapperswil (Switzerland) ===========================================================[ITA-HSR]== _______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
