Virtual Private Network (VPN)
A virtual private network (VPN) is an encrypted private connection on a public network. Learn how VPNs work, the difference between remote access and site-to-site VPNs, and the trade-offs of using a VPN for remote access.
What is a Virtual Private Network (VPN)?
A virtual private network (VPN) creates a secure, encrypted connection between a device or network and another network across an untrusted network such as the internet. Traffic inside the VPN is protected from interception, and the connected device can reach resources as if it were on the private network. Organizations use VPNs for remote access and to connect offices; individuals use them for privacy on public networks.
How does a VPN work?
- The VPN client authenticates to a VPN server or gateway, ideally with multifactor authentication.
- The two sides establish an encrypted tunnel using a protocol such as IPsec/IKEv2, OpenVPN, WireGuard, or SSL/TLS.
- Traffic for the private network, or all traffic in a "full tunnel" configuration, is encapsulated, encrypted, and sent through the tunnel.
- The VPN server decrypts it and forwards it to the internal network.
In split tunneling, only traffic for the private network goes through the VPN, while other traffic goes directly to the internet.
Remote access VPN vs. site-to-site VPN
A remote access VPN connects individual users' devices to a network. A site-to-site VPN connects whole networks, such as a branch office and a headquarters, through gateways at each end. Both use the same tunneling and encryption principles.
Why does a VPN matter?
VPNs protect traffic over untrusted networks and have long been the standard way to give remote users access. Their limitation is scope: once connected, a user or a compromised device may reach much more of the network than they need. VPN gateways are also frequent targets of attacks. Patching VPN appliances, requiring MFA, and limiting what each user can reach, or using access methods scoped to specific resources, reduce the risk.
Frequently asked questions
What is a VPN?
A VPN (virtual private network) is an encrypted private connection on a public network that lets a device reach a private network securely.
What is split tunneling?
Split tunneling sends only traffic for the private network through the VPN, while other traffic goes directly to the internet.
Does a VPN make you anonymous?
Not fully. A VPN hides traffic from the local network and changes the visible IP address, but the VPN provider and the sites you sign in to can still identify you.
Access private resources without a traditional VPN
Access private network resources from the internet without a VPN.
Related terms
Tunnel
A tunnel is a private network route for transferring encapsulated data packets across a network.
Read now →Point-to-Point Tunneling Protocol (PPTP)
Point-to-Point Tunneling Protocol (PPTP) is a protocol for establishing a virtual private network (VPN) as an extension of a network.
Read now →Zero trust principle
The zero trust principle is a fundamental security concept which proposes that no person or computer should be trusted without authentication.
Read now →