VPN stands for “virtual position network”. In the language of the computer technology a software that changes our location, hides IP Address, saves us from being tracked is called VPN. We also use the VPN to access a Website or a Service in a country where that specific Service or Website is blocked. So, we change the location of our device by VPN to get access. Here we will discuss about the VPN available in Kali Linux to use for task purposes.
(a)PPTP VPN:
It is one of the best VPN available in Kali Linux to hide and change the location.
Sign in to the website of aproVPN.com
You can configure it in Kali Linux by following guidelines given below;
Go to the website (aproVPN.com)
Click on (sign in) and enter your email and password then click on (sign in) as shown above.
Then open the terminal and run these commands;
(sudo apt-get install network-manager-pptp -y)
(sudo apt-get install network-manager-pptp-gnome)
(/etc/init.d/network-manager restart)
Then copy the name of any country you want, from the website.
Copy the name of country you want
Then click on the place of internet in corner and click on (VPN Connections) and click on
(Configure VPN)
Click on (Add) and click on (Create)
Create VPN connection
Write the any name of connection
Paste the name of country in box of (Gateway)
Type your username and password as you want.
Click on (Advanced)
Enter the requirements
Tick the option of (MPPE) and click on (Ok) and click on (save) and then click on (Close).
Tick the highlighted option
Then click again in corner (VPN Connections) and click on your connection name and VPN will connect.
Now if you will search on browser (what is my IP address), it will change and your location will be in country as you pasted.
Now if you want to change your location to another country copy the name of country from website, click on (Disconnect) then click on (Configure VPN) ,select your (VPN) and click on (Edit) and click on (VPN) and now paste the name of new country in box of (Gateway) and click on (save) and (close).
Now again click in corner and click on your VPN name as you configured.
Now if you will search (what is my IP) in browser your public IP will change and your location will be in country as you pasted.
(b)CISCO ANYCONNECT OR OPENCONNECT VPN:
It is very powerful and useful VPN in the Kali Linux that allow us to connect with different or a single private server.
Download this VPN from the website;
(https://uci:servic.now.com/kbview.do?sysparm_article - kb0010201)
Click on (Linux 32 bit) or (Linux 64 bit)
Click Ok and it will download in your folder (download)
Open (Downloads) folder
Right click here and click on (open terminal here)
Then run this command to unzip it
(tar xvfz +full name of VPN)
Then find the file (VPN_install.sh) and run following commands in terminal.
(sudo a chmod + 777 ./ VPN_install.sh) (sudo ./VPN_install.sh)
Then go to the (Applications Menu) and search here (cisco) and open cisco.
Here it will ask you connect to:
In this box enter IP of the server in box of (connect to) click on (connect), click on (change setting), untick the option (block connection to untrusted server), click on (close), click on (connect) then click on (connect anyway)
Then enter your (username) and (password) any you want and click on (connect) then you will connect to cisco VPN.
Then you will connect to a specific server.
Write IP of server
Enter strong username and password
(c)FREE VPN:
It is the simple and best VPN for the kali Linux to change location.
Download and note username and password
Go to the website (https://www.VPNbook.com/free VPN) and download any version you want and also note the username and password given below on website as shown above.
Then open to the (Download) folder and (open terminal here)
Then extract the VPN by using commands;
(tar xvfz +full name of VPN)
Then to install run the command;
(openVPN +full name of any VPN file you want)
Enter the full name of any file of open VPN to install
Then enter username copied from website.
Then enter password copied from website.
Then if you will search (want is my IP) on Firefox then it will be other or changed as compare to your previous IP address. It means your IP will change and your location will change also. (d)PULSE SECURE CONNECT VPN:
It is the VPN that is configured on the website (https://my.pulsesecure.net) and for this (libgnome keyring) must be install in your Kali Linux. It is not so effective for Kali Linux user. If you are interested in it you can see the installation method of libgnome and configuration of pulse secure on (YouTube).
(e)PALO ALTO GLOBAL PROTECT VPN:
It is also a good VPN that allows us to connect to different servers. But we can establish this connection between a server and client. It is best for a Kali Linux user especially to hide your location. It has command line interface and easy to use.
First of all download the (PanGpLinux-4.1.0-b41.tzg) from internet by searching it.
Go to your (Download) folder, open terminal here
Extract the VPN by using command;
(tar -xvf +full name of VPN)
(ls)
(dpkg -i globalprotect_deb-4.1.0.0-91.deb)
Then restart your computer and run the command to start global protect VPN;
(globalprotect)
Then to see different commands about global protect type command;
(help)
You will see commands as shown in the figure.
Different commands of global protect with their use
Some main commands are;
TO CONNECT TO SPECIFIC SERVER RUN COMMAND:
(connect -p +Server domain -u +username of your system -y)
TO CHECK CONNECTION: (show --details)
TO CHECK HOST INFORMATION: (show --host-state)
TO DISCONNECT: (disable)
TO IMPORT A CERTIFICATE FILE: (import-certificate +file name)
TO SEE STATUS: (show --status)
TO SEE INFORMATION: (show)
TO EXIT THE GLOBAL PROTECT: (quit)
Many other commands can be used from help menu as you want.











