Configuring an iOS Client
Procedure
- Search for "OpenVPN Connect" in the App Store, download the software, and install it.
- Download the client configuration file.
- Method 1: Download the client configuration file on a PC.
- Method 2: Download the client configuration file on a mobile phone.
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- Click
in the upper left corner, and choose .
- In the navigation pane on the left, choose .
- Click the P2C VPN Gateways tab, and click Download Client Configuration in the Operation column of the target VPN gateway.
The downloaded client configuration file is client_config.zip.
If you download the client configuration file on a PC, you need to upload the file to the Android system.
- On your PC, decompress client_config.zip to a specified directory, for example, D:\.
After the decompression, the client_config.ovpn and client_config.conf files are generated.
- Open the client_config.ovpn file using Notepad or Notepad++.
- Add the client certificate and private key to the file.
Enter the client certificate content and the corresponding private key in between <cert></cert> and <key></key> tags, respectively.
<cert> -----BEGIN CERTIFICATE----- Client certificate content -----END CERTIFICATE----- </cert> <key> -----BEGIN PRIVATE KEY----- Client private key -----END PRIVATE KEY----- </key>
- Save the .ovpn configuration file.
If you perform subsequent operations on iOS, you need to upload the .ovpn configuration file that has been configured on the PC to the iOS system.
- Start the OpenVPN Connect client.
- Method 1: Start the client on your PC.
- Method 2: Start the client on your mobile phone.
- Import the .ovpn configuration file.
Add the client configuration as prompted.
- Establish a VPN connection.
If information similar to the following is displayed, the connection is successfully established.Figure 1 Connection established
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot