What is VPN (virtual private network)?
A mechanism that builds an encrypted virtual private channel (a tunnel) over a shared network such as the internet, so that distant sites and outside devices communicate as if they were connected directly to the internal network. Methods include IPsec, TLS (SSL-VPN) and WireGuard.
Japanese name: VPN
VPN (virtual private network) appears in 6 practice questions across 3 topics, including Cyber Attacks and Defense in Practice, Computer Networking Basics, System Architecture and Reliability.
Field: Computer Networking Basics
Site-to-site and remote-access VPNs
A site-to-site VPN places a VPN device at each location, such as head office and branches, and links their LANs; users are not aware of it. A remote-access VPN lets a PC at home or on a trip connect to the company's VPN device with client software. Methods include IPsec, which encrypts at the network layer and exchanges keys with IKE; SSL-VPN, which uses TLS; and the newer WireGuard, which runs over UDP. Some VPNs do not cross the internet at all, such as IP-VPN services that run over a carrier's closed network.
FAQ
Does a VPN make me anonymous?
Not completely. Websites see the VPN's exit address instead of yours, but whoever runs the VPN can see whom you communicate with. Logins and cookies can still identify you.
What is the difference between IPsec and SSL-VPN?
IPsec encrypts IP packets themselves at the network layer, so it can carry traffic from any application and is common for site-to-site VPNs. SSL-VPN uses TLS, so it is easy to use from a web browser or dedicated software and passes through firewalls easily, which makes it common for remote access.