Monday, July 24, 2017

How to Install VPN In Linux Times 2017

By default Network Settings Settings do not provide options for VPN settings.
In order to add VPN we need to install OpenVPN. Here are the steps

apt-get install network-manager-openvpn-gnome
This command will install the OpenVPN network manager and additional packages required to function properly. The network-manager-openvpn-gnome package just installs the OpenVPN protocol, this is pretty much in the case and certainly if you're using the Golden Frog VPN service. If you want to install other VPN protocols such as PTTP or L2TP, you can use the following command which will install everything:
apt-get install network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome 


When the installation of all packages is complete we can proceed with the following steps: Add a new VPN connection and configure the VPN connection settings. Let's start by adding a new VPN connection in the network settings by navigating to the settings menu:

And open the Network settings panel by using the following buttons:


Now click the + sign in the bottom left corner to add a new connection and click "VPN" in the add network connection menu:


And finally add the new OpenVPN Connection:



This will take us to the menu where we can determine the setting of the VPN server to set up the connection. In this step we need to define gateways, login credentials and VyprVPN Certificate Authority (CA) certificates. Let's first download it using the following command:


wget -O /etc/openvpn/ca.vyprvpn.com.crt
https://support.goldenfrog.com/hc/en-us/article_attachments/205312238/ca.vyprvpn.com.crt


You can also download certificate files manually using the following links:
https://support.goldenfrog.com/hc/en-us/article_attachments/205312238/ca.vyprvpn.com.crt

Make sure you save the certificate file to the following location:
/etc/openvpn/



Now we need to specify the gateway and some other settings:


    -Name: VyprVPN OpenVPN
    -Make available to other users when applicable
    -Gateway: VPN server gateway, pick any of these servers from Golden Frog.
    -User name: The e-mail address used during registration at Golden Frog
    -Password: The password from your VyprVPN account
    -CA Certificate: Select the downloaded CA certificate from the following directory: /etc/openvpn/


After entering all necessary settings, the form should look like this:


The final step in the setup process is to enable LZO compression in the advanced menu. You can do this by clicking the advanced button in the bottom right corner of the screen and activating LZO compression.



Now close the advanced options menu and apply changes to the new VPN connection and let's see if this works by using the blue button in the upper right corner of the VPN connection screen to enable VPN connections:



If all settings are valid, you should be able to set up VPN connections successfully. In the event of an error, you will be notified with a message that looks like: The activation of the network connection failed. If this error message occurs, you should check the logs using the following command in the terminal:

 journalctl -n100

This will open the last 100 lines from the log. Any errors in the log will be marked red and have to clean everything up why the error occurred. In the following example there is a problem with the downloaded certificate, which is finished by downloading the certificate again but manually this time using the browser.
  
semoga sukses 

5 comments:

  1. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. vpn

    ReplyDelete
  2. When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. torrenting without vpn

    ReplyDelete
  3. I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. discount spotify premium

    ReplyDelete
  4. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon! anime torrents

    ReplyDelete
  5. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future... setup vpn iphone

    ReplyDelete