Using L2TP/IPSec with Linux, setup done with Xubuntu.

 

1. Start by adding the repository for the GUI and installing the software.

sudo apt-add-repository ppa:werner-jaeger/ppa-werner-vpn
sudo apt-get update
sudo apt-get install l2tp-ipsec-vpn
sudo reboot

´╗┐If you use Ubuntu with the new desktop manager Unity, you need enter the following in a terminal window:

sudo gsettings set com.canonical.Unity.Panel systray-whitelist “['all']“

The gsettings line makes the L2TP/IPSec applet icon show in the System Tray. You’ll find more information here.

2. When your computer has rebooted you will find a new icon in your menu bar.
Click on the new icon and select ‘Edit Connections’.

3. You will be asked for your password.

4. Click on add to start setting up the connection.

5. Enter a name for the connection.

6. Click on Edit and enter the remote server address and the preshared key: blackvpn

Australia: australia.vpn.blackvpn.com
Brazil: brazil.vpn.blackvpn.com
Canada: ca.vpn.blackvpn.com
Estonia: vpn.blackvpn.ee
Lithuania: vpn.blackvpn.lt
Luxembourg: vpn.blackvpn.lu
Netherlands: vpn.blackvpn.nl
Romania: vpn.blackvpn.ro
Russia: vpn.blackvpn.ru
Switzerland: vpn.blackvpn.ch
Ukraine: vpn.blackvpn.com.ua
Singapore: vpn.blackvpn.sg
UK: vpn.blackvpn.co.uk
USA East: eastcoast.vpn.blackvpn.com
USA West: westcoast.vpn.blackvpn.com

 

7. Go to the L2TP tab and select the tick box ‘Length bit’

8. Go to the PPP tab and click on ‘Allow these Protocols’ and only allow MS-CHAPv2.
Also enter your username & password.

9. Then click on ‘IP settings’ and select ‘Obtain DNS server addresses automatically’.

10. Click OK, then OK and then Close and then you can select the VPN in the top meny of your screen and you should be able to connect.