What is a VPN?
💠 V.P.N (Virtual private network). In simple words, it creates a secure tunnel over the public network. Which is used for privacy purpose and to access some websites or services that are blocked or banned in a specific region?
If we are using a V.P.N the Government and our ISP providers won’t be able to spy on us! 💠
How our privacy is at risk online? 🛡
To understand this… we need to understand the working of the internet!
The internet we use is provided to us by the ISP (Airtel, Jio, Zong, etc). So doesn’t matter what we are doing on the internet, all our data is passing through the servers of our ISP! Scary!!
What all info does our ISP receives? 🛡
When we try to visit any website (say www.google.com ) or ISP receives a request from our IP address to resolve the DNS for the requested website! And FUN FACT! “DNS REQUESTS ARE UNENCRYPTED!”. 🔑
(And that’s how we have many websites blocked in our country as ISP’s doesn’t have permission to forward our request of any blocked website!)
Which eventually means that our ISP knows our IP address and the website we are requesting to visit!
In case you don’t know about DNS and ENCRYPTION. 🔑 Go read them here:-
GETTING A LITTLE PRACTICAL… 🛡
💠 You must be knowing that nowadays most of the websites are HTTPS! Which means that all the data flowing between our phone to the website’s server is Encrypted! 💠
Client (we) → I.S.P → Website server and vice versa.
As the data is encrypted, the ISP in the middle cannot read what all data is flowing between the client and the server!
But it doesn’t end here. There still are many websites which don’t use HTTPS,
All our DNS requests are not encrypted! 🔑
How does VPN work? 🛡
Well, let’s understand this with an example!
Let’s assume that we want to visit www.netflix.com (and it is banned in your country).
Therefore when we connect to a VPN and select the region USA. Our request will go to the server of the VPN provider located in the USA. (Note, that all the data flow in while connected to a VPN is all encrypted! 🔑 The data flows in a tunnel) As a result, the VPN server will forward our request to Netflix servers (As Netflix has received a request from a server located in the USA, it thinks that we are actually requesting it somewhere sitting in the USA) After getting the response our VPN server will send back the response to us.
In this way, a VPN plays an important role in:
- Maintaining our privacy
- Encrypting our data
- Changing location
- Working of IMSI-Catcher, in-depth explanation!
- Working of DHCP and NAT.
- How does a Network Switch work? (With practical example)
Few Important things to note:- 🛡
💎 Here I gave an example of ISP but actually data flow from the client (your device to ISP passes from various Hubs, Switches, Routers, etc. In addition, VPN creates a tunnel in the path of all these things + It encrypts 🔑 the data, so if anyone tries to spy on us, the person will be unable to do so !)
💎 If you want to trace the flow of data (passing from various hubs, switches, etc)
- open cmd
- Type:- tracert www.innovativenoob.com (or any other website you want)
💎 Encryption applied by the side of the VPN is only valid between the client (you) and the VPN server. All the data flow beyond that will act normally.
💎 The website we are trying to visit will get the IP address of the VPN server, as a result, your IP address will not be exposed.
💎 Almost in all the cases, the VPN company keeps a record of all the logs (your IP and other details) which are generally not made public but in case of an emergency government or cops can ask for all the details from the VPN company.
💎 VPN usually gets a little slow due to the encryption and decryption taking place while the flow of data, and also it depends on the load on the VPN server.
Author: Innovative Noob 💡