Virtual Private Network (VPN)
What is Virtual Private Network (VPN)?
A virtual private network (VPN) creates a protected logical tunnel across another network, usually encrypting and authenticating traffic between a device and a gateway or between sites.
Organisations use VPNs to give remote staff access to internal resources and to link offices over the internet. Consumer services use them to route a user's traffic through a provider's server. Common technologies include IPsec, TLS-based VPNs and WireGuard, each with its own design and configuration choices.
How it works
The endpoints first authenticate each other with keys, certificates or user credentials, and agree session keys. A virtual interface or policy then selects traffic, which is encrypted, integrity protected and wrapped in outer packets addressed to the other endpoint. The receiver verifies and removes that wrapping before forwarding. A full tunnel sends nearly all traffic this way; split tunneling sends only chosen destinations. Access rules at the gateway still determine what a connected user can reach.
Example
An employee working from a hotel connects with a company-managed VPN client and completes multi-factor authentication. Policy lets them open the internal ticket system but not the server management subnet, because their role does not require it.
Limitations and common misconceptions
A VPN protects only the tunnelled segment; traffic beyond the exit needs its own encryption. It does not make users anonymous, since the VPN operator can observe connection details, and it does not stop malware or phishing. Gateways are internet-facing targets that must be patched promptly.
Frequently Asked Questions
Does HTTPS make a VPN unnecessary?
What is the risk of split tunneling?
Related terms
Learn and practise
Explore the topic: Networking, Cloud security