After you create an IPsec server, you must configure the client on your mobile phone to establish a VPN connection to Alibaba Cloud.
Prerequisites
Before you begin, make sure that you meet the following requirements:
You have created an IPsec server. For more information, see Create and manage an IPsec server.
You have obtained the following information from the VPN Gateway console:
The public IP address of the VPN Gateway associated with your IPsec server.
The IKE version used by your IPsec server.
The pre-shared key used by your IPsec server.
Configure an iOS client
IPsec servers support connections only from iOS devices. This topic uses iOS 14 as an example to show how to configure the VPN connection on your mobile phone.
Open Settings on your phone.
Go to .
On the Add Configuration page, set the following parameters.
Type: Select the VPN type.
This setting must match the IKE version of the IPsec server.
Description: Enter a description for the VPN.
Server: Enter the public IP address of the VPN Gateway.
Remote ID: Enter the public IP address of the VPN Gateway.
Local ID: Enter an identifier for the client. This can be left empty.
User Authentication: Select None.
Use Certificate: Select Off.
Secret: This parameter is used for identity authentication between the IPsec server and the client. The key must be the same on both ends to establish the IPsec-VPN connection.
For this parameter, enter the pre-shared key of the IPsec server.
Proxy: Keep the default value of Off.
Click Done.
On the VPN page, select the target VPN configuration and turn on the Status switch.
When the VPN status changes to Connected, the VPN connection is established.
