Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

What Is a VPN Tunnel and How Does It Work?

See what a VPN tunnel encrypts, who can still see your traffic, and when to use full or split tunneling.

Table of Contents

A VPN tunnel is an encrypted connection between your device and a VPN server. It protects traffic routed through the tunnel from being read by others on the path to the server. A work VPN may use that connection to give you access to internal systems. A consumer VPN typically sends your web traffic out through the provider’s server.

What is VPN Tunnel? How does it work? Picture 1
What is a VPN tunnel?

How traffic moves through a VPN tunnel

  1. Your VPN app connects to the server and establishes an encrypted session.
  2. Your device wraps traffic selected by the VPN’s routing rules in encrypted packets and sends them to the server.
  3. The server opens the outer packets and forwards the traffic to its destination. Replies return through the server and the tunnel.

Your internet provider can generally see that you are communicating with a VPN server, along with traffic timing and volume. Websites you reach through the VPN generally see the server’s public IP address. The VPN operator can still see some connection metadata. HTTPS continues to protect the contents of a web session between your browser and the website, even after that session’s traffic leaves the VPN server.

Full tunnel vs. split tunnel

What is VPN Tunnel? How does it work? Picture 2
What is VPN split tunneling?
  • Full tunnel: Routes internet traffic through the VPN by default. Organizations may use it to apply network policy consistently, including when employees are away from the office.
  • Split tunnel: Sends only selected apps or destinations through the VPN. For example, your work intranet can use the tunnel while a video call takes the direct connection. Direct traffic still gets any encryption the app provides, such as HTTPS.

Check the VPN app or your organization’s policy before changing these settings. See the split tunneling guide for configuration examples.

Common VPN protocols

  • WireGuard and OpenVPN are open-source choices supported by many VPN apps. Use the protocol supported by both your VPN server and client.
  • SSTP is a TLS-based option supported by the built-in Windows VPN client. L2TP/IPsec combines L2TP tunneling with IPsec protection.
  • PPTP is a legacy option with known security weaknesses. Choose a supported modern protocol for a new setup.

What a VPN cannot protect

A tunnel cannot prevent a phishing site from collecting a password you enter, stop malware on your device, or hide your identity from a service you sign in to. If your VPN includes a kill switch, check whether it blocks direct traffic when the tunnel drops. On Windows, see how a VPN client connects to an existing server for a practical setup example.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.