Home How to? How to Setup Free VPN on Kali Linux/Ubuntu?

How to Setup Free VPN on Kali Linux/Ubuntu?

How to Setup Free VPN on Kali Linux/Ubuntu?
How to Setup Free VPN on Kali Linux/Ubuntu?

How to Setup Free VPN on Kali Linux/Ubuntu? A virtual private network (VPN) extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network. Applications running across the VPN may therefore benefit from the functionality, security, and management of the private network.

OpenVPN is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol that utilizes SSL/TLS for key exchange. It is capable of traversing network address translators (NATs) and firewalls.

Install OpenVPN in Linux

Initially, we need to install OpenVPN in our Linux machine to use custom CA certificates. To do so, just simply open up terminal and paste below command in it.

sudo apt-get install --reinstall network-manager network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome

Install Unzip in Linux

Secondly, we need to install Unzip program in our system because we need to download and extract CA file. To do so, put below command in your terminal.

sudo apt-get install --reinstall unzip

Download VPN Certificate

Now, Refresh your terminal with clear command or simply open up new terminal and paste below command in it to download VPN certificate by PIA

wget https://www.privateinternetaccess.com/openvpn/openvpn.zip

Now, to unzip it and to place it on right folder, use below command

unzip -q openvpn.zip -d /etc/openvpn

Setup VPN

#1: Close any active Terminal

#2: Click on WiFi or Network Icon and select Edit Connections

#3: Select VPN tab and then click on Add

#4: Select OpenVPN from drop down menu and click Create

#5: Now you need to fill exact below details in VPN panel

Connection name:PrivateInternetAccess VPN
Username:PIA Username
Password:PIA Password
CA Certificate:Browse to /etc/openvpn and select ca.crt

#6: Now click Advanced button

#7: Tick the Check box for “Use LZO data compression

#8: At last, Click OK, Save and then Close

PIA Gateways List

United Statesus-midwest.privateinternetaccess.com
United Statesus-east.privateinternetaccess.com
United Statesus-west.privateinternetaccess.com
United Statesus-texas.privateinternetaccess.com
United Statesus-california.privateinternetaccess.com
United Statesus-florida.privateinternetaccess.com
United Kingdomuk-london.privateinternetaccess.com
United Kingdomuk-southampton.privateinternetaccess.com
Hong Konghk.privateinternetaccess.com

Please Like, Share and Comment your valuable thoughts  🙂 

Thanks for patronizing Ultimate Tech. This post is about, "How to Setup Free VPN on Kali Linux/Ubuntu?" and last updated on August 3, 2017. I am sure your visit to us must be quite satisfying and in line with your expectations from us. Just in case, it’s not as you expected from us or if you are facing any problem, kindly forward your feedback’s directly to us by leaving a Comment below. And, get assured response from my side. Your feedback’s and suggestions are extremely valuable to us. This Post is written by Harman Singh Hira. There is not any source, if any, then already mentioned so Copying or using this post’s content for your own site is not allowed. If anyone do so, get ready for facing DMCA. Please, if you like this post then share on your social networking sites. Assuring you of our best service always.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Privacy Settings saved!
Privacy Settings

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.

These cookies are necessary for the website to function and cannot be switched off in our systems.

For performance reasons, we use Cloudflare as a CDN network. This saves a cookie "__cfduid" to apply security settings on a per-client basis. This cookie is strictly necessary for Cloudflare's security features and cannot be turned off.

In order to use this website we use the following technically required cookies
  • wordpress_test_cookie
  • wordpress_logged_in_
  • wordpress_sec

Decline all Services
Accept all Services