You need to install 2 packages, use Synaptic or the Command line if you prefer (If you do the first, it will install the second as a dependency):
Network Connection icon –> VPN Connections –> Configure VPN
At the Network Connections window click on: Add
Click on: Create
Once you click on “Create” you to get the edit window, these are its sections explained:
1) Connection Name: This is just a name for you to identify the VPN connection you can name it whatever you prefer.
2) Gateway: This is the external IP address of the VPN you are connecting to. (e.g. your workplace, etc.)
3) Username and Password: Enter Username and password of the VPN network you are connecting to.
4) NT Domain: This is the domain name of the network you are connecting to. Some NT domains require you to enter .local following the domain name. Make sure you try this if you connection does not work. Meaning if your domain name is ntdomain try it as both ntdomain and as ntdomain.local
Click on the “Avanced” button
Under the “Authentication” section
- Uncheck PAP and EAP
- Check CHAP, MSCHAP, MSCHAPv2
- Check “Use Point-to-Point encryption (MPPE)”
- Select the type of encryption used on you network. Usually “128-bit (most secure)”
- Uncheck all other settings except “Send PPP echo packets”
- Click “OK”
Back on the Ubuntu VPN client editing window…
- Click on the IPv4 settings tab
1) Leave Method on “Automatic VPN”
2) Click on Routes
1) Address: Enter the internal IP address of the machine you want to connect to
2) Netmask: Netmask of the remote network
3) Gateway: Gateway of the remote network (Usually internal IP address of remote router)
4) Metric: Set Metric to 1
Once you finish reboot your computer and you are done!
Next step, if you are connecting to a Windows based network, will be to connect from your Ubuntu machine to your Windows based machine at work.
Hope this article was helpful in getting your Ubuntu VPN client working as it should. If you have any questions feel free to add a comment to this article.