VPNUK - The Virtual Private Network Specialists
Setting up L2TP/IPSec VPN access under Ubuntu GNU/Linux.
This tutorial describes how to configure and setup a L2TP VPN connection in GNU/Linux using the network manager. The L2TP/IPSec applet builds on a variety of Unix and Unix-like operating systems including Linux and Solaris, this tutorial is based on Ubuntu.
First you will need to install OpenSwan xl2tpd package:
1. Open Terminal Window
Go to Application -> Accessories -> Terminal.

2. Install Openswan
Run the command:
sudo apt-get install openswan xl2tpd

3. Configuring Openswan
You may be asked if you would like to install certificates for this host. The VPNUK servers do not use certificates, we use shared secrets so you do not need to install the certificate.

4. Install l2tp-ipsec-vpn (pt1)
Enter the following command into the terminal window and click enter:
sudo apt-add-repository ppa:werner-jaeger/ppa-werner-vpn

5. Install l2tp-ipsec-vpn (pt2)
Enter the following command into the terminal window and click enter:
sudo apt-get update

6. Install l2tp-ipsec-vpn (pt3)
Enter the following command into the terminal window and click enter:
sudo apt-get install l2tp-ipsec-vpn

8. Confirm Installation
If you are asked to confirm the installation enter 'y' and click enter.

8. Reboot
Enter the following command into the terminal window and click enter:
sudo shutdown -r now

1. Edit Connections
Right click on the new 'L2TP Network Manager' icon on your desktop bar. This icon can be in the shape of 2 computer screens. Then choose 'Edit Connections'.

2. Administrator Permissions
You may be prompted for your administrator password, enter your password and click onto the 'OK' button.

3. Add New Connection
Press the 'VPN' tab to ensure you are on the correct setup.

4. Connection Name
Enter the name for the new connection, then click 'OK'.

5. Edit Connection
Click onto the 'Edit' button.

6. Conection Settings
Enter the IP of the server you are connecting to and the IPSec key: 69000903 then click onto the 'PPP' tab.
.
7. Connections Settings
Click onto the 'Allow these protocols' checkbox and click onto the 'IP Settings' Button.

8. IP Settings
Plce a tick in the 'Obtain DNS server address automatically' checkbox anf then click onto the 'OK' button.

9. Advanced Options
Click onto the 'Advanced' button.

10. Advanced Settings
Ensure all of the compressions options are checked along with the option to send PPP echo packets, then click on 'OK'.

11. Login Details
Enter your login username and password then click onto the 'OK' button.

12. Connection setup complete
Thats it! You can now close the 'VPN Connections' window.

[END]
1. Initiate Connection
Click onto the L2TP connection icon in the taskbar and click onto the L2TP connection that you created.

2. Connection Initilasing
A dialog box will open to inform you that the connection has initialised.

3. Connected!
Once Connected a dialog box will open and the L2TP icon will change into two active screens.

[END]
1. Open Network Manager
Click on the Click onto the L2TP connection icon on your taskbar and select 'Disconnect'.

2. Disconnected
A dialog box will open to let you know the connection is disconnected, The icon will also change to a disconnected state'.

[END]
|