PUQ Mautic

IKEv2 clients configuring

IKEv2 Official clients

Order now | Download | FAQ

Our solution works great with official client programs. We strongly invite you to use them.

You can download from the https://www.strongswan.org/download.html
Please always download latest versions. The following list is intended as a general direction only.

strongSwan Downloads

NetworkManager Plugin

strongSwan's NetworkManager plugin is available as binary package for several distributions (e.g. network-manager-strongswan on Debian/Ubuntu).

Current Release

Version: 1.6.0

NetworkManager-strongswan-1.6.0.tar.bz2

This version supports GTK 4 (in addition to GTK 3), but doesn't support compiling against libnm-glib anymore.

Android App

The strongSwan Android app can be installed from App stores, or manually by downloading the APK from our download server.

Current Release

Version: 2.3.3

https://play.google.com/store/apps/details?id=org.strongswan.android

https://f-droid.org/en/packages/org.strongswan.android/

 

Android IKEv2 client configuration

Order now | Download | FAQ

In order to connect to a VPN, follow these steps:

macOS IKEv2 client configuration

Order now | Download | FAQ

In order to connect to a VPN, follow these steps:

Windows IKEv2 client configuration

Order now | Download | FAQ

In order to connect to a VPN, follow these steps:

Linux IKEv2 client configuration

Order now | Download | FAQ

In order to connect to a VPN, follow these steps:

Mikrotik IKEv2 client configuration

Order now | Download | FAQ

Configuring Mikrotik as an IKEv2 Client.

 

Make sure you have an up to date routerOS system.

Version must be at least: 6.49.7 

[admin@VPN-CLIENT] > system package print 
Flags: X - disabled 
 #   NAME                                 VERSION                                 SCHEDULED              
 0   ntp                                  6.49.7                                                         
 1   ppp                                  6.49.7                                                         
 2   dhcp                                 6.49.7                                                         
 3   mpls                                 6.49.7                                                         
 4   security                             6.49.7                                                         
 5   advanced-tools                       6.49.7                                                         
 6   system                               6.49.7                                                         
 7   openflow                             6.49.7                                                         
 8   multicast                            6.49.7                                                         
 9   routing                              6.49.7     

image-1671037736670.png

Download the certificate and place it on the Mikrotik router using the Winbox program

image-1671037851417.png

Import the certificate into the system

image-1671038008488.png

image-1671038098059.png

To create an IKEv2 connection, we will use the console

Open a terminal and enter the following commands

Replace the authorization data with the data that is in the one-time link

the example contains the following data. You need to replace them with your own.

Server: dev.softkeel.com address=dev.softkeel.com
Username: mikrotik my-id=user-fqdn:mikrotik AND username=mikrotik 
Password: NX9%B3&3YG password=NX9%B3&3YG
certificate dev.softkeel.com.crt_0 certificate=dev.softkeel.com.crt_0

It is a strong recommendation to use only the terminal command line in setup.
We encountered cases when, during the configuration of Mikrotik through winbox, some parameters were not correctly entered into the configuration. Commands entered through the terminal are always correctly processed.

/ip ipsec settings
set accounting=no
/ip ipsec mode-config
add name=MY_VPN responder=no
/ip ipsec policy group
add name=MY_VPN
/ip ipsec profile
add dh-group=modp1024 enc-algorithm=aes-256 name=MY_VPN
/ip ipsec peer
add address=dev.softkeel.com exchange-mode=ike2 name=MY_VPN profile=MY_VPN
/ip ipsec proposal
add name=MY_VPN pfs-group=none
/ip ipsec policy
add dst-address=0.0.0.0/0 group=MY_VPN proposal=MY_VPN src-address=0.0.0.0/0 template=yes
/ip ipsec identity
add auth-method=eap \
eap-methods=eap-mschapv2 generate-policy=port-strict \
mode-config=MY_VPN \
peer=MY_VPN policy-template-group=MY_VPN \
certificate=dev.softkeel.com.crt_0 \
my-id=user-fqdn:mikrotik \
username=mikrotik \
password=NX9%B3&3YG 

 

After the work done, you can see the connection status in the IP->IPsec configuration

image-1671039196036.png

 

You also need to configure the traffic routes you need at your discretion.

 

 

 

iOS IKEv2 client configuration

Order now | Download | FAQ

To connect to the VPN, follow these steps:

  1. Open the provided link in your browser to get instructions and settings for your new VPN connection. You will see the following page in your browser window.
    1.png
  2. To proceed, you need to install the Certificate CA. Click the "Download Certificate CA" button and allow the download of the file.
    1.jpg
  3. Next, navigate to the following path: Settings -> General -> VPN & Device Management, and wait for the profile to download and appear in this window.
    2.jpg

  4. Tap on the downloaded profile and, click the "Install" button.
    3.jpg
  5. Enter your password.
    4.jpg
  6. Read the warning and press the "Install" button
    5.jpg
  7. Press "Install" again to confirm.
    6.jpg

  8. A window will appear, showing that the profile has been downloaded and verified.
    7.jpg

Next, you need to configure the VPN.

  1. To do this, go to Settings -> General -> VPN & Device Management -> VPN and tap on "Add VPN Configuration..."
    8.jpg
  2. Enter the required details and click "Done."

    1. Description: [Enter a description for this VPN connection]
    2. Server: [Enter the server address]
    3. Remote ID: [Enter the remote ID]
    4. Username: [Enter your VPN username]
    5. Password: [Enter your VPN password]
    6. Type: IKEv2
    7. Proxy: Off
      9.jpg
  3. Finally, select the VPN you added and don't forget to toggle the switch to enable it.
    10.jpg
  4. By tapping on the (i) icon, you can check the information for this VPN or make any necessary changes
    11.jpg