What it is
A VPN (Virtual Private Network) is a technique for carrying one network's traffic across another network securely. Your original packets are wrapped inside an outer transport that provides encryption and integrity, forming a tunnel between two endpoints.
Key points
- Works by encapsulating packets inside an encrypted outer packet.
- Key exchange and authentication decide who is allowed into the tunnel.
- Routing, DNS, and MTU behavior change when a tunnel is active.
Concrete example
You are on a hotel network and open a corporate internal dashboard. Your laptop sends internal IP traffic into the VPN tunnel. The hotel only sees encrypted packets to the VPN server, and the corporate network sees your traffic as if you were on the office network.