Cipher Algorithm for VPN Ikev2

Hello,


I wanted to know if it was possible to change the default cipher algorithms for IPSEC connection.

When I browse online I see that MacOs use :

  • aes or des
  • sha-1
  • DH 2


So I wanted to know how to change this settings


Any one of you have an idea ?


Regards.

MacBook Air 13", macOS 10.14

Posted on Jul 7, 2019 2:19 AM

Reply
8 replies

Jul 9, 2019 1:30 AM in response to Wellyas

Have you tried actually connecting using the Mac and its built-in VPN client? Does it give any error messages?


Apple have not as far as I am aware documented any way to customise these settings and normally it will use what the server tells it to - assuming the Apple's client is capable of supporting those modes.


There are various alternative VPN clients for the Mac and some are free and some are not. Many of the firewall/vpn appliance makers make their own Mac VPN clients e.g. Cisco, Juniper, SonicWALL, and SoftEtherVPN.


The generally most competent commercial client is this one https://www.vpntracker.com/us/index.html

Have a look at this one as well https://www.shimovpn.com/


Although interestingly neither seem to list IKEv2.

Jul 9, 2019 11:37 PM in response to Wellyas

Thanks to both of you, you have been really helpful


So indeed neither of vpnhtracker or shimovpn propose a IKev2 support


But I think I have find a way to configure the Native VPN.

On this page Apple's Developer site, I find a way to configure VPN profile.


On this xml file I have the possibility to specify the encryptionAlgorithm, IntegrotyAlgorithm and the DeffieHelmanGroup.


I will test to configure the VPN with this file and post if it solve my problem.


Regards

Jul 8, 2019 3:20 PM in response to Wellyas

A few questions, if you don't mind:

  1. So far, all we know is that you want to create a IPSec VPN that uses either sha256 or DH14 cyphers. Is this correct? ... and you want to run the IKEv2 tunneling protocol over the IPSec security protocol ... correct?
  2. Next, what type of VPN are you trying to create: a) Remote Access VPN, b) Site-to-Site VPN, c) Point-to-Point VPN, or d) a SSL-type VPN? Only the first two can use IPSec.
  3. Depending on the VPN type from the previous question, will you be using a VPN client on a local network computer, a VPN server, a VPN appliance, or a VPN-enabled router on your local network? Which client or server will you be using?

Jul 9, 2019 12:17 AM in response to Tesserax

Hello,


I have a Remote Access VPN configure ( working with Windows Native VPN Client computers) that use AES256 + SHA256 + DH14.


So I wanted to know if it was possible to configure the Native MacOS VPN client to change its settings to use instead this cyphers on a local Mac computers for the user to be able to connect on remote.

Or if I have to use a third party client VPN to configure this.


By the way I tested to add the cyphers ( the default cyphers of the MacOS VPN Native Client ) on my VPN Gateway ( a Firewall appliance ) and the tunnel works.


So to summarize my environment :


A Mac Computer with Native VPN client wants to connect to a remote site with a IPSec Tunneling on a VPN Server that is a Firewall Appliance that allow only strong cyphers like (SH256/DH14)

Jul 9, 2019 8:40 AM in response to Wellyas

Thanks for the additional information. I believe John Lockwood has provided the limitations of using the native macOS VPN client for this purpose. I concur with him that Apple hasn't released any detailed information related to this client's implementation to offer you anything related to which protocols & cyphers they will use going forward. Sorry, I couldn't help answer your questions.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cipher Algorithm for VPN Ikev2

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.