Using Remote Access VPN with VPC
To use a VPN client to connect to your VPC, follow these steps:
- Navigate toย ย Networking > Virtual Private Cloudsย from the main navigation panel and select the VPC that you wish to connect to using your VPN client.

- Inside the VPC, navigate to the IPv4 ADDRESSESย section and click theย Manage VPN access. After this, click on theย Remote Access (L2TP)ย ย option and enable the switch for the Remote Access VPN.

- This will also enable theย Remote Access VPNย button for the VPCโs default IP. Click on the button to copy the pre-shared key (PSK) and the IP range from the dialog box to use in your VPN client.

- Additionally, youโll need to add VPN user credentials here.
To test this configuration, you can open the VPN client on your local system and try connecting to the VPC.
Configuring VPN on Windowsโ
To configure a VPN Connection on Windows using Native VPN client, follow these steps:
-
Open the Control Panel, navigate to Network and Internet.

-
Select Network and Sharing Center.

-
Under Change your networking settings, click Set up a new network connection or network.

-
The following window appears. Select Connect to a workplace, and click Next.

-
Select the Use my Internet connection(VPN) option.

-
The following window appears. Enter the Internet address (refer IPv4 Address from point 2 under Using Remote Access VPN with VPC ).

-
Select the Remember my credentials option, and click Create.
-
To configure VPN settings, open Network and Sharing Center, and click Change adapter settings.

-
Navigate back to Network and Internet, then select Network Connections.

-
Locate your VPC network, right-click on it, and select Properties.

-
The Properties window appears:

-
In the Properties window, navigate to the Security tab.
- Under Type of VPN, select L2TP/IPsec.
- In the Data Encryption field, choose Require encryption.
- Select the Allow these protocols option.
- Select Microsoft CHAP Version 2(MS-CHAP v2).
-
Click the Advanced settings button. The following window appears:

-
Select the Use pre-shared key for authentication option (for pre-shared key refer to point 3 under Using Remote Access VPN with VPC).
-
Click OK to save your settings.
-
To initiate the VPN connection, navigate to Network > Connection Settings, then click Connect.

-
Enter your Username and Password, click OK.

The configuration is successful.
