
The diagram above shows how to access the internet with and without the VPN. A VPN (Virtual Private Network) is a technology that creates a secure, encrypted connection over a less secure network, such as public internet. The primary purpose of a VPN is to provide privacy and security to data and communication.
VPN can operate on 2 different layer on the network stack: Layer 2 (data link layer) and its normally called as bridged VPN and layer 3 (network layer) and this is where IP operate with IP addresses and IP routes.
A VPN acts as a tunnel through which the encrypted data goes from one location to another. Any external cant see the data transferring.
A VPN works in 4 steps:
- Step 1 – Establish a secure tunnel between our device and VPN Server
- Step 2 – Encrypt the data transmitted
- Step 3 – Mask IP address, so it appears as if our internet activity is coming from VPN server
- Step 4 – Internet traffic is routed through the VPN server