[strongSwan] IKEv1 and identifiers
emeric.poupon at stormshield.eu
Mon Jul 3 13:31:57 CEST 2017
Thanks for your answer!
----- Original Message -----
From: "Tobias Brunner" <tobias at strongswan.org>
To: "Emeric POUPON" <emeric.poupon at stormshield.eu>, users at lists.strongswan.org
Sent: Friday, 30 June, 2017 09:17:38
Subject: Re: [strongSwan] IKEv1 and identifiers
> To sum up, for compatibility reason, as soon as there is something other than an IP address, we have to activate the "i_dont_care_about_security_and_use_aggressive_mode_psk" option?
The charon daemon, since 5.5.2, does a config lookup based on the IP
addresses and then searches for PSKs based on the configured identities,
only if that does not yield a secret will the PSK lookup be based on the
IPs, see . So you could use identities other than IPs, at least if
the configs can be matched properly (e.g. based on the IPs or hostnames
there). Otherwise, you will have to use aggressive mode. But before
you do that you should rather switch to certificates or even IKEv2.
More information about the Users