MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

How to Setup VPN for Ubuntu ΓΆ€“ A Step by Step Complete Guide

Published on 04 August 15
649
0
0
Step-by-Step guide on how to setup a VPN on Ubuntu

Setup PPTP Protocol on Ubuntu

  • Click on âNetwork Connectionâ icon. Then go to âVPN Connectionsâ and click on âConfigure VPNâ.
  • Once the Network Connection window opens, click on âAddâ.
  • Now click on the dropdown menu. Select âPoint-to-Point Tunneling Protocol (PPTP)â under VPN heading and click âCreateâ.
  • Enter the âConnection Nameâ, the server address in âGatewayâ, and the username and password you created or received from the VPN provider. Once you have entered this information, click on âAdvanceâ.
  • In advance settings, select âUse Point-to-Point encryption (MPPE)â, âAllow BSD data compressionâ, âAllow Deflate data compressionâ, and âUse TCP header compressionâ. Uncheck âEAPâ under Authentication and click âOKâ.
  • Now click âSaveâ and close the Network Connection window. Access âNetwork Connectionâ icon again and go to âVPN Connectionsâ. You will see your new VPN connection created, click on it and you will be successfully connected to your VPN service.

Setup OpenVPN Protocol on Ubuntu

  • Search for âTerminalâ from your Dash and open it. Once it is open, enter the following command: âsudo apt-get install network-manager-openvpnâ and hit enter from your keyboard to download and install Ubuntu OpenVPN packages.
  • You will be asked to continue or not, type âYâ and hit enter to continue. Once the installation is complete, close the terminal.
  • Now download the OpenVPN files provided by your VPN provider and extract them to your desired location.
  • Once the files have been extracted, click on the âNetwork Connection iconâ and go to âVPN Connectionsâ and click on âConfigure VPNâ.
  • A Network Connection window will open, click on âAddâ.
  • A small window will open, from the dropdown menu select âOpenVPNâ and click âCreateâ.
  • Now under the VPN tab enter âConnection Nameâ and the desired server address under âGatewayâ. Enter the login credentials (username and password) under Authentication. Then click on âCA Certificateâ field and navigate to the location where you extracted the OpenVPN configuration files. Look for â.crtâ file and open it. Once you have done this, click on âAdvanceâ.
  • Select âUse LZO data compressionâ. You may have to enter port settings under âUse custom gateway portâ depending on your VPN provider.
  • You can also select the encryption level of your choice under the âSecurityâ tab.
  • Now click âOKâ and âSaveâ all your settings. To access your OpenVPN connection, click on Network Connection Icon, go to âVPN Connectionâ and click on your newly created connection.
With that being done, you will be able to securely browse the internet without the threat of being hacked or having your identity stolen.


Step-by-Step guide on how to setup a VPN on Ubuntu

Setup PPTP Protocol on Ubuntu

  • Click on âNetwork Connectionâ icon. Then go to âVPN Connectionsâ and click on âConfigure VPNâ.
  • Once the Network Connection window opens, click on âAddâ.
  • Now click on the dropdown menu. Select âPoint-to-Point Tunneling Protocol (PPTP)â under VPN heading and click âCreateâ.
  • Enter the âConnection Nameâ, the server address in âGatewayâ, and the username and password you created or received from the VPN provider. Once you have entered this information, click on âAdvanceâ.
  • In advance settings, select âUse Point-to-Point encryption (MPPE)â, âAllow BSD data compressionâ, âAllow Deflate data compressionâ, and âUse TCP header compressionâ. Uncheck âEAPâ under Authentication and click âOKâ.
  • Now click âSaveâ and close the Network Connection window. Access âNetwork Connectionâ icon again and go to âVPN Connectionsâ. You will see your new VPN connection created, click on it and you will be successfully connected to your VPN service.
Setup OpenVPN Protocol on Ubuntu

  • Search for âTerminalâ from your Dash and open it. Once it is open, enter the following command: âsudo apt-get install network-manager-openvpnâ and hit enter from your keyboard to download and install Ubuntu OpenVPN packages.
  • You will be asked to continue or not, type âYâ and hit enter to continue. Once the installation is complete, close the terminal.
  • Now download the OpenVPN files provided by your VPN provider and extract them to your desired location.
  • Once the files have been extracted, click on the âNetwork Connection iconâ and go to âVPN Connectionsâ and click on âConfigure VPNâ.
  • A Network Connection window will open, click on âAddâ.
  • A small window will open, from the dropdown menu select âOpenVPNâ and click âCreateâ.
  • Now under the VPN tab enter âConnection Nameâ and the desired server address under âGatewayâ. Enter the login credentials (username and password) under Authentication. Then click on âCA Certificateâ field and navigate to the location where you extracted the OpenVPN configuration files. Look for â.crtâ file and open it. Once you have done this, click on âAdvanceâ.
  • Select âUse LZO data compressionâ. You may have to enter port settings under âUse custom gateway portâ depending on your VPN provider.
  • You can also select the encryption level of your choice under the âSecurityâ tab.
  • Now click âOKâ and âSaveâ all your settings. To access your OpenVPN connection, click on Network Connection Icon, go to âVPN Connectionâ and click on your newly created connection.


With that being done, you will be able to securely browse the internet without the threat of being hacked or having your identity stolen.

This blog is listed under Networks & IT Infrastructure and Mobility Community

Post a Comment

Please notify me the replies via email.

Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
You may also be interested in
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top