Billing and payments
Cloud server volumes
Data centers and network
Data privacy and data portability
How it works
VPN to GPN
Embargoed and Sanctioned Countries
Setting up Windows built-in VPN client
To set up a new VPN connection:
1. Open VPN settings:
Press Win + R, type ms-settings:network-vpn and press Enter.
2. Click "Add a VPN connection".
- Set "VPN provider" to "Windows (built-in)",
- Set "Connection name" to "GPN",
- Set "VPN type" to "L2TP/IPsec with pre-shared key".
Fill rest of the fields with the data obtained in the user credentials dialogue.
- Server name or address: VPN server
- Pre-shared key: Shared secret
- User name: Login
- Password: Password
- Click "Save".
3. Open Windows PowerShell:
- Click Start (or press Win), type PowerShell, and then click Windows PowerShell.
4. Run the following command to check connection properties:
5. Check the "AllUserConnection" property in the output of the previous command. It indicates whether the VPN connection is in the global (machine) or local (user) phone book. If "True", run:
The command configures additional parameters like "AuthenticationMethod" and "SplitTunneling". The first version of the command has " -AllUserConnection" parameter which indicates that the VPN connection specified is in the global phone book.
6. Finally, add the route for the VPN connection by running:
You can now connect to the VPN:
- By choosing "GPN" and clicking "Connect" next to it in the VPN section of Windows Settings (Win + R, ms-settings:network-vpn, Enter);
- By clicking the network icon in the system tray, choosing "GPN" and clicking "Connect" next to it;
- By running "rasdial GPN" in a PowerShell window.