Define PFS Group in Strongswan IKEv2/IPsec Phase 2 Settings

I am trying to setup a VPN connection on Ubuntu 20.04 using Strongswan. One of the requirements for the tunnel is to use PFS group 20.

Is the PFS group 20 being set when we have the following line in ipsec.conf?

 esp=aes256-sha512-ecp384

Thank you~!

1 Answer

Yes, PFS (or rather Diffie-Hellman) group 20 for IKE/IKEv2 is the 384-bit random ECP group defined in RFC 5903. So adding ecp384 to the ESP proposal is correct.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like