L2TP Linux Ubuntu

L2TP VPN Linux Ubuntu

How to setup L2TP VPN connection on Linux Ubuntu?
1First, you need to install L2TP module. Open terminal and type the these 3 commands:

command 1
sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
command 2:
sudo apt-get update
command 3:
sudo apt-get install network-manager-l2tp-gnome

2Go to the "Network Connections":

L2TP VPN connection on Ubuntu - Step 2
3In Network Connections window, click on "Add":

L2TP VPN connection on Ubuntu - Step 3
4Choose "Layer 2 Tunneling Protocol (L2TP)" as your connection type and select "Create...":

L2TP VPN connection on Ubuntu - Step 4
4In next screen, add your gateway address and your VPN username & password, then click "IPsec Settings..."
Note:(Gateway or IP: Too see your server IP address, login here with your username and password.

L2TP VPN connection on Ubuntu - Step 5
5In L2TP IPsec Options, type "8870680" in "Pre-shared key" and leave Gateway ID empty, then click on OK:

L2TP VPN connection on Ubuntu - Step 6
6In "Editing RapidVPN L2TP" window, click on "Save" button:

L2TP VPN connection on Ubuntu - Step 7
7Now you are ready to use your connection. Click on network icon from tray area -> VPN Connections -> RapidVPN Connection. Now your connection will start and soon will be established. Enjoy!

L2TP VPN connection on Ubuntu - Step 8