This tutorial will guide through manual setup of L2TP VPN connection on Ubuntu.
To set up L2TP VPN on Ubuntu, you will need:
- A secure FastVPN connection (Don’t have one? Sign up here!);
- Access to your FastVPN account panel to get your network credentials and server list
1. Click the Terminal icon from the screen:
2. To install L2TP dependencies, enter the following commands one by one:
sudo apt-get update
sudo apt-get install network-manager-l2tp
sudo apt-get install network-manager-l2tp-gnome
3. Select the Network icon in the upper right corner and choose Settings in the bottom left corner:
4. Click the Add (+) button in the VPN section to add new VPN connection:
5. Select Layer 2 Tunneling Protocol (L2TP) as your connection type:
6.
Fill in the fields as given below to configure:
- Name: any name for the connection you are adding (e.g. NCVPN);
- Gateway: your preferred PPTP or L2TP server address of the location/server from the FastVPN Account Panel (e.g. prg-c17.vpn.wlvpn.com);
- User name: your FastVPN account name (username@namecheap) from the FastVPN Account Panel ;
- Password: your FastVPN account password from the FastVPN Account Panel.
7. To proceed with the configuration, click the IPsec Settings... button. Put the check-mark next to Enable IPsec tunnel to L2TP host and enter vpn in the Pre-shared key field:
Click OK and choose Add in the upper right corner to save the settings.
8. To enable the VPN connection, put the toggle button to the position ON:
If you need any further assistance, please contact our
Support Team.