Setting up LimeVPN in Linux – L2TP Setup Instructions for Ubuntu.
Open Terminal, Applications-> Terminal
Install network-manager-l2tp by typing in Terminal:
“sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp”
Press Enter. (Enter password if it needed)
You will be prompted: “Do you want to continue? Y/n” Type “Y” and hit Enter. After the installation enter the following commands.
“sudo apt-get update”
“sudo apt-get install network-manager-l2tp-gnome”
“sudo service xl2tpd stop”
“sudo update-rc.d xl2tpd disable”
- If you are getting file lock error, please follow these steps:
sudo rm /var/lib/apt/lists/lock
- You may also need to delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
- After that restart and continue from step 2
- Click on Network Connections on the top right corner to bring up the connection menu, and click on Edit Connections.
- Click on Add and select Layer 2 Tunneling Protocol (L2TP) and click Create…
- You will be prompted window, in the Gateway, enter any one of the server mentioned under http://network.limevpn.com/
- In the case username type your LimeVPN username, and password in Password.
NOTE: To enter the password, click on small human icon and select store the password.
Click on IPsec Settings…
Check the box on Enable IPsec tunnel to L2TP host.
Enter “private” without quotes and click OK and then click on Save.
NOTE: If you are using a dedicated IP (LimeVPN Pro), then the Pre-shared key will be limevpn
Click on PPP Settings and tick the Use Point-to-Point encryption (MPPE)
Uncheck MSCHAP and keep MSCHAPv2 checked.
Click on Network Connections on the top right corner to bring up the connection menu. Expand VPN Connections and select the configured VPN.
You are now connected to VPN. To disconnect click in the same menu click on the connected VPN.