Connecting to an IKEv2 VPN server from Android
Important
If you plan to set up your Keenetic as a VPN server, you should start by checking that it has a public IP address and, if using the KeenDNS domain name, that it is configured in the Direct Access mode, which also requires a public IP address
. If any of these conditions are not met, you will not be able to connect to such a server from the Internet.
Configure the VPN server according to the IKEv2/IPsec VPN server instructions. For example:
![ikev2-android-01-en.jpg](../../../../assets/images/uuid-e83c5ad5-b705-3bbe-2cb1-d09653d4769a.jpg)
Then set up an IKEv2 connection on your Android mobile device.
In Android, you can use the free popular VPN client strongSwan.
Start the VPN client. Click 'Add VPN Profile':
![ikev2-android-02-en.jpg](../../../../assets/images/uuid-47a3b63f-9a58-0943-eebf-769233911f8e.jpg)
Then specify the server address (this is the public IP address of the router or its KeenDNS domain name
), the connection type 'IKEv2 EAP (Username/Password)', the login and password of the router user account that has permission for VPN connection. Save the connection settings.
![ikev2-android-03-en.jpg](../../../../assets/images/uuid-b036bba1-b990-6e4c-d506-7312d2072799.jpg)
Click on the created connection to start the VPN.
![ikev2-android-04-en.jpg](../../../../assets/images/uuid-b32f8bbb-0214-dd91-db99-ed120474b22e.jpg)
This will attempt a VPN connection to the IKEv2 server on Keenetic. You will see a 'Connected' status if the connection is successful.
![ikev2-android-05-en.jpg](../../../../assets/images/uuid-8da1c5e3-8e4a-b55d-5ba3-8d70198e1706.jpg)
You can disconnect the VPN connection on the same screen by tapping the Disconnect button.
When you set up a VPN connection, you can see the current connection statistics on the Keenetic router.
![ikev2-android-06-en.jpg](../../../../assets/images/uuid-e02a8ae6-024f-e28e-0fd9-322b5c148eb4.jpg)