VPN and Proxy
Proxy server: proxy server is a dedicate computer or software running on a computer that acts as an intermediary between an endpoint device, such as computer, and another server from which a user or client is requesting a service. The proxy server may exists in the same machine as a firewall server or it may be a separate server which forwards request to the firewall.
An advantage of proxy server is that it hide your IP address from a website and maintains your anonymity.
Setting up a proxy in Kali Linux to hide your IP address
So, we will look for some proxy on the google , i have found this website which have a lot of proxies listed , https://free-proxy-list.net you will see a lot of proxies here, with their port number , their country and does they support https or not.
Now, we will choose an IP address and we will add this proxy to Kali Linux machine, to add a proxy in Kali Linux go to the top right corner and click on the arrow sign, click on the proxy and then click on manual.
It will open a window like this.
Now, it is asking for some of the details like what is http proxy, https proxy, and their port numbers. We will choose an IP address which is 220.127.116.11 and the port number is 8080. But this proxy doesn’t support https so, we will choose another proxy for https purposes. The proxy per https is 18.104.22.168 and the port number for this proxy is 8080 as well.
Now, we will try to visit a website to see whether our proxy is working or not. The website we are going to visit is cryptoip.info and we will see that our IP has been changed, it means that the proxy server is working.
There are some other options like you can add a proxy to firefox browser only to do so go to firefox settings and then preferences scrolled down and click on network proxy setting to add a proxy to it, you can also choose whether firefox should have to use the system proxy or a manual one.
What is a VPN?
A VPN or a virtual private network is a secured tunnel between two or more devices. A VPN is a method used to add security and privacy to private and public network like wifi-hotspot and the internet. VPN are of most often use by corporation to protect sensitive data , however using a VPN increase the privacy because the user’s initial IP address is replaced with one from the VPN provider. For example: you may live in India but with a VPN you can appear in newyork and in many other cities.
We will use VPNbook for this free VPN service visit the website https://www.vpnbook.com now there are plenty of options but we will use open VPN in this case.
The username and password is mentioned in that page and these can get changed daily so you have to visit the website daily for valid passwords.
Now, we will download the server 2 bundle and we will open this and you can see that there are plenty of files in this folder.
Now, we will use the tcp443 server for it. So I will copy that file in desktop and will rename this as VPN.
So, Before connecting to VPN our IP address is
So, now open the terminal with root permissions and change the directory to desktop. Now, type openvpn vpn.ovpn and it will ask for username and passwords enter the user name and password and it will connect you to the VPN service.
Now, do not close the terminal and visit cryptoip.info and you will see that IP address has been changed and in this case the country has been changed to Romania.