L2TP/IPSec and PPTP on Linux
Posted by Uli Brügmann on 25 February 2013 11:58 AM
L2TP (Layer 2 Tunneling Protocol) with IPSec (Internet Protocol Security) and PPTP (Point to Point Tunneling Protocol) are both VPN protocols for getting access to the CyberGhost network, e. g. for devices like Smartphones and Tablets, but also for operating systems like, in this case, Linux.
PPTP is usually a part of any Linux distribution, but you should know, that PPTP has already been compromised and therefore should only be used, if none of the other options (L2TP/IPSec or OpenVPN) is available. Whether L2TP or OpenVPN is available depends on your distribution.
Visit your CyberGhost VPN online account.
Log-in with your user data and click in the upper menu on the entry 'My Devices'.
Specify the device type, in this case it's 'Other devices'.
Specify the protocol you want to use and make sure you have chosen 'Linux' as the operating system.
Any single L2TP or PPTP connection can naturally just be configured with exactly one server address. So the next thing to do is to choose the country you want to surf from (the server inside this country will be chosen automatically by CyberGhost as the most convenient server available).
Once done, please note down the following data, which you will need to configure your L2TP or PPTP connection:
Now start your Linux L2TP/IPSec or PPTP configuration. The way to get to the right settings will most certainly vary between different distributions, but the main steps are nearly everywhere more or less identical.
First open your general settings, e.g. with the Chakra distribution via 'Start menu > System Settings'. Here you will find most certainly a section called 'Network Settings'. That's the one to open. Using Ubuntu it's 'System > Settings > Network Connections'.
Now add a network connection. Here with Chakra you activate the tab 'VPN', click on 'Add' and choose the type of connection you want to add, in this case 'L2TP/IPSec' or 'PPTP'. If the type is missing, your distribution lacks it and it needs to be installed first.
Now click on 'Activate connection with Desktop' and 'Next'.
Choose a description or name of your new connection, which should reflect the country of the server you want to surf from (e.g. ‘CyberGhost VPN US’). The other settings:
Click on ‘OK’, when you’re done.
Now your new connection should be part of your list of network connections which should also be accessible via the 'System Settings' of your distribution. Often these settings can also be accessed through the task bar.
If you want to have a L2TP/IPSec or PPTP VPN connection for each country CyberGhost operates server in, please repeat all steps for each of the other addresses CyberGhost provides you with, when choosing the country.
* In all Premium or Premium Plus plans it's necessary to enter the address in the shape of 'country-protocol.cyberghostvpn.com', e.g us-l2tp.cyberghostvpn.com'. With other subscription types such as Special Editons or promotions a slightly changed variation of this address takes place: