- 2071 Chaitra · 4 marks
Virtual Private Network with example
Short answer
A VPN creates an encrypted tunnel over the public internet, providing secure private network connectivity at lower cost than leased lines. Types include site-to-site (connecting LANs via VPN gateways) and remote-access (individual users connecting via client software). Protocols include IPsec, SSL/TLS, and OpenVPN. Example: a bank connects its Kathmandu headquarters and Pokhara branch via VPN gateways, encrypting traffic between 192.168.1.0/24 and 192.168.2.0/24 over the internet.
Explain Virtual Private Network (VPN) with an example.
A Virtual Private Network (VPN) creates a secure, private connection (a tunnel) over a public network such as the Internet. Data is encapsulated and encrypted, so it behaves as if the users were on a private leased line, but at a much lower cost.
How it works
- Both ends authenticate each other (passwords, certificates, pre-shared key).
- A tunnel is created: the original packet is encrypted and encapsulated in a new packet with the VPN gateway's address (e.g. IPsec ESP in tunnel mode).
- The packet is carried over the Internet and cannot be read or changed.
- The receiving gateway decrypts and delivers the original packet.
Types
- Site-to-site VPN: connects two LANs through VPN gateways.
- Remote-access VPN: a single user connects to the office network using VPN client software.
Protocols
IPsec, SSL/TLS VPN, L2TP, PPTP, OpenVPN.
Example
A bank has its head office in Kathmandu and a branch in Pokhara. Instead of renting a private line, each site has a VPN gateway connected to the Internet.
Branch LAN --[VPN GW]====== encrypted tunnel ======[VPN GW]-- HQ LAN
192.168.2.0/24 over the public Internet 192.168.1.0/24
A branch PC sending data to a head-office server has its packet encrypted by the Pokhara gateway, carried over the Internet and decrypted at Kathmandu. An employee at home can likewise use a remote-access VPN to reach the HQ servers securely.
Advantages: security, lower cost, scalability, remote access. Disadvantages: some speed overhead, depends on Internet quality.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Subnet 120.89.96.0/19 for 100-800 hosts · Computer Networks and Security, chapter 4 · asked 2×
- Subnet 202.70.64.0/19 for 100-800 hosts · Computer Networks and Security, chapter 4 · asked 2×
- Intranet implementation procedure and VPN · Internet and Intranet, chapter 6
- Short note: Virtual-circuit network · Telecommunications, chapter 8 · asked 2×