Updated on 2024-07-25 GMT+08:00

Step 3: Configuring a Client

Prerequisites

  • You have created a user and configured a password for the user.
  • The client device can access the Internet.

Downloading the Client Configuration

  1. On the P2C VPN Gateways page, locate the target VPN gateway, and click Download Client Configuration in the Operation column to download the configuration package.
  2. Decompress the package to obtain the client_config.conf, client_config.ovpn, and README.md files.
    • The client_config.conf file applies to the Linux operating system.
    • The client_config.ovpn file applies to the Windows, macOS, and Android operating systems.

Installing the Client Software and Importing the Configuration File

This example describes how to configure a client on the Windows operating system. The configuration process varies according to the type and version of the VPN client software.

  • Operating system: Windows 10
  • Client software: OpenVPN-2.6.6-I001
  1. Download the OpenVPN GUI installation package and install it as prompted.
    The installation package varies according to the Windows operating system as follows:
  2. Click OpenVPN GUI in the Start menu to start the client.

    The message "OpenVPN GUI is already running. Right click on the tray icon to start." is displayed in the lower right corner.

  3. Right-click the icon on the Windows taskbar, choose Import > Import file, and import the client_config.ovpn file.

    When the file is imported, the message "File imported successfully." is displayed in the lower right corner.

  4. Double-click the icon on the Windows taskbar. On the OpenVPN GUI page that is displayed, set parameters as prompted and click OK.
    Table 1 OpenVPN Connect parameters

    Parameter

    Description

    Example Value

    Username

    Enter the name of the user created on the User Management tab page.

    Test_01

    Password

    Enter the password of the user created on the User Management tab pge.

    Set this parameter based on the site requirements.

  5. Right-click the icon on the Windows taskbar, and choose Connect.