[strongSwan] fail using PSK shared key

Marcos Gonzalez marcos.gonzalez at genomcore.com
Thu Jul 13 18:27:28 CEST 2017


So, If I understand second leftID needs to be the same name in both places?

I confirm that works :-)

Thanks


On 13/07/17 17:56, Tobias Brunner wrote:
> Hi Marcos,
>
>> Config A
>> ...
>>           leftid=MyPublicIPA
>> ...
>>           rightid=MyPublicIPB
>> ...
>> Config B:
>> ...
>>           leftid=10.0.1.5
>> ...
>>           rightid=MyPublicIPA
>> ...
>> Jul 13 15:30:06 vpnserver charon: 05[CFG] looking for peer configs
>> matching 10.0.1.5[MyPublicIPB]...MyPublicIPA[MyPublicIPA]
>> Jul 13 15:30:06 vpnserver charon: 05[CFG] no matching peer config found
> Read these log messages.  Compare with your left|rightid configuration
> above.  Notice your mistake.  Then adjust the config accordingly and try
> again.
>
> Regards,
> Tobias



More information about the Users mailing list