[strongSwan] IKEv2 problem for PSK between 2 x ubuntu 12.04 hosted by VMware player

Kristian.Lippert at tieto.com Kristian.Lippert at tieto.com
Mon Jun 25 13:26:12 CEST 2012

Hi fixin the syntax error in the ipsec.secrets did the job! 
Also changing the leftid and right id into the local ip-addresses ( and helped, but these can be omitted in the simple case
Andreas, You are the man!

-----Original Message-----
From: Andreas Steffen [mailto:andreas.steffen at strongswan.org] 
Sent: 22. juni 2012 19:30
To: Huang, Ricky
Cc: Lippert Kristian; users at lists.strongswan.org
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


but if you define the IDs either as an FQDN or an RFC822 address then
you must use those in ipsec.secrets.



On 06/22/2012 06:33 PM, Huang, Ricky wrote:
> On Jun 22, 2012, at 7:08 AM, "Andreas Steffen" <andreas.steffen at strongswan.org> wrote:
>> Hi Kristian,
>> several things are wrong in your setup:
>> [...]
>> 2) There is syntax error in your ipsec.secrets:
>> 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                         andreas.steffen at strongswan.org
strongSwan - the Linux VPN Solution!                www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)

More information about the Users mailing list