[Day 5] 4. Working of VPN
1. What a VPN Does:
Think of a VPN as a private, secure tunnel between your device and the internet. Instead of connecting directly to a website or service, your device connects to the internet through the VPN, keeping your activity hidden and secure.
2. How It Works:
a. Encryption:
Before your data leaves your device (like your computer or phone), the VPN encrypts it. This means your information is turned into a scrambled code that no one else can understand. Even if someone intercepts your data, it’s useless without the decryption key.
b. Connecting to a VPN Server:
Your device sends the encrypted data to a VPN server. This server acts as a middleman between you and the website or service you’re accessing. From the server’s perspective:
- Your data looks like random gibberish (thanks to encryption).
- Your real location (IP address) is hidden because the website only sees the VPN server’s IP address.
c. Data Transmission:
The VPN server forwards your request to the website or online service you want to access. For example:
- If you want to visit a website, the VPN server retrieves the webpage and sends it back to your device through the encrypted tunnel.
d. Decryption:
When the data reaches your device, the VPN decrypts it so you can see and use it normally, like browsing a website or streaming a video.
3. Why Use a VPN?
- Privacy: It hides your online activities from your internet provider, hackers, or even governments.
- Security: Protects sensitive information (like passwords) on public Wi-Fi networks.
- Anonymity: Your real IP address and location are hidden, making it harder for websites to track you.
- Access: Lets you bypass geographic restrictions to access content (like streaming services) available in other regions.
Example:
Imagine you’re sending a postcard. Normally, anyone handling it can read the message and see your address. With a VPN, it’s like putting the postcard in a secure envelope that only the recipient can open, and the return address is replaced with the VPN server's location.
Read Next
[Day 5] 5. Sharing Internet Access Between VMs Using Clear OS
### **Setup Overview** We require two Virtual Machines for this lab: - **VM1 (One Adapter)**: - **Adapter**: Host-only (cannot direct...
[Day 5] 6. Message Authentication Code
### **Why is MAC Used?** Imagine you're sending a box of chocolates to a friend through a delivery service. Along with the box, you attach a unique...