Security

Remote Access VPN — How It Works, Types and Split Tunnelling

J Jaspreet Singh April 16, 2024 6 min read
Animated diagram for Remote Access VPN How It Works, Types and Split Tunnelling, showing traffic arriving at a policy wall where two flows are allowed through and two are dropped at the boundary

A remote access VPN gives an individual device an encrypted tunnel into a private network, so a laptop on hotel WiFi behaves as though it were plugged into the office. It is distinct from a site-to-site VPN, which permanently joins two whole networks and is invisible to the users behind it.

Remote access VPNSite-to-site VPN
ConnectsOne device to a networkTwo networks to each other
Initiated byThe user, on demandThe routers, always on
Client softwareRequired (or a browser)None, transparent to users
AuthenticationPer userPer device, pre-shared key or certificate

How It Works

  1. The client contacts the VPN gateway at the network edge.
  2. The user authenticates, credentials, certificate, and ideally a second factor.
  3. The two sides negotiate encryption parameters and derive session keys.
  4. The gateway assigns the client an internal IP address from a dedicated pool, plus routes and DNS servers.
  5. Traffic matching the assigned routes is encrypted, encapsulated and sent to the gateway, which decapsulates it and forwards it into the internal network.

That fourth step is the essential one: the client ends up holding an address on the inside, which is what makes internal resources reachable by their normal addresses and names.

Protocol Comparison

ProtocolTransportClientNotes
IPsec IKEv2UDP 500 / 4500Native on most OSesFast, stable, excellent at surviving network changes (MOBIKE). Blocked by some restrictive networks.
SSL/TLS VPNTCP/UDP 443Vendor client or browserTraverses almost any firewall because it looks like HTTPS. The enterprise default.
WireGuardUDP, configurableCross-platformVery small codebase, modern cryptography, excellent performance. Less granular enterprise policy control.
OpenVPNUDP 1194 or TCP 443Open sourceMature, flexible, widely supported. Slower than WireGuard.
L2TP/IPsecUDP 500/4500/1701NativeLegacy. Works, but there is no reason to choose it now.
PPTPTCP 1723 + GRENative (legacy)Broken. Do not use. MS-CHAPv2 is cryptographically defeated.

For a new deployment: IKEv2 where you control the client platforms, SSL/TLS on 443 where users connect from networks you do not control, WireGuard where performance and simplicity matter more than fine-grained policy.

Split Tunnel vs Full Tunnel

This is the decision with the largest practical consequences.

Full tunnelSplit tunnel
What goes through the VPNEverything, including internet browsingOnly corporate-bound traffic
Corporate bandwidth usedHigh, all user traffic transits your circuit twiceLow
Latency for cloud appsPoor, traffic detours via HQGood, direct
Security inspection coverageComplete, all traffic passes your controlsPartial, internet traffic bypasses them
Risk of bridging networksLowHigher, the device sits on both at once
Typical choiceHigh-security environmentsMost organisations, especially with SaaS

Full tunnel was standard until cloud services made it painful: routing every Teams call and every Microsoft 365 request through headquarters wastes bandwidth and adds latency for no security benefit, since those services are already encrypted and outside your control anyway.

The common compromise is a split tunnel with exceptions, trusted SaaS goes direct, everything else through the tunnel, combined with endpoint protection and DNS filtering so the split-out traffic is still covered by something.

Configuration Sketch, Cisco AnyConnect / IKEv2

! Address pool for VPN clients
ip local pool VPN-POOL 10.99.1.10 10.99.1.200 mask 255.255.255.0

! Authentication against RADIUS
aaa-server RADIUS-SRV protocol radius
aaa-server RADIUS-SRV (inside) host 10.10.10.20

! Split tunnel list, only these networks go through the tunnel
access-list SPLIT-TUNNEL standard permit 10.10.0.0 255.255.0.0

group-policy VPN-POLICY internal
group-policy VPN-POLICY attributes
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value SPLIT-TUNNEL
 dns-server value 10.10.10.10
 vpn-idle-timeout 60

The client pool should be a dedicated subnet, not carved out of an existing user VLAN. That way firewall rules and monitoring can treat VPN users as their own zone.

Securing It Properly

  • Multi-factor authentication is mandatory. A VPN gateway is internet-facing and continuously credential-stuffed. Password-only VPN access is the origin of a large share of intrusions.
  • Certificate-based device authentication in addition to user credentials, so a stolen password alone is not enough.
  • Posture checking, verify the endpoint is patched and running endpoint protection before granting access.
  • Segment VPN users. Terminate them in their own zone with firewall rules limiting what they reach. A VPN user should not have flat access to everything.
  • Patch the gateway urgently. VPN appliance vulnerabilities are among the most heavily exploited classes of bug there is, because the device is by definition exposed and by definition trusted.
  • Log and monitor connections, impossible-travel logins, unusual hours, unexpected source countries.
  • Set idle and session timeouts so forgotten sessions do not persist indefinitely.
  • Disable legacy protocols. PPTP and unpatched SSL versions should be off entirely.

Common Problems

SymptomLikely cause
Connects but nothing is reachableSplit tunnel list wrong, or no return route to the client pool on internal routers
Names do not resolveInternal DNS not pushed, or the client preferring its local resolver
Works on some networks, not othersUDP 500/4500 blocked, move to TLS on 443
Large transfers stall, small ones fineMTU, tunnel overhead exceeds the path MTU. Lower the client MTU or enable MSS clamping.
Overlapping subnetsThe user’s home network uses the same range as the office, typically 192.168.1.0/24. Use an unusual internal range.
Slow throughputFull tunnel saturating the corporate circuit, or gateway CPU limits on encryption

The MTU issue is worth expanding, it is the classic remote access VPN fault. Encapsulation adds overhead, so a full-size packet inside the tunnel exceeds the path MTU outside it. Ping works, small requests work, and file transfers or large web pages hang. MSS clamping on the gateway fixes it for TCP.

Why ZTNA Is Replacing VPN

The structural weakness of a remote access VPN is that it grants network access. Once connected, the device is inside, and lateral movement becomes possible if it is compromised.

Zero Trust Network Access inverts this: instead of joining the network, a user is granted access to specific applications, each authorised per session against identity and device posture. There is no network-level foothold to move laterally from, and internal applications are not exposed to anyone who authenticates to the gateway.

Most organisations run both during a long transition, VPN for legacy applications and administrative access, ZTNA for everything modern. See the network security guide for how these fit together.

Frequently Asked Questions

What is the difference between a remote access VPN and a site-to-site VPN?

Remote access connects one device to a network and is initiated by the user. Site-to-site permanently joins two networks at the router level and is invisible to users.

Is split tunnelling insecure?

It reduces your visibility, since internet traffic bypasses your inspection. It is not inherently dangerous when paired with endpoint protection and DNS filtering, and it is now the pragmatic default because full tunnelling all SaaS traffic through headquarters is wasteful.

Which VPN protocol should I use?

IKEv2 for reliability and roaming, TLS on port 443 where restrictive networks are a concern, WireGuard for performance and simplicity. Avoid PPTP entirely, its authentication is broken.

Why do large downloads fail over my VPN?

Almost always MTU. Tunnel encapsulation pushes packets over the path MTU, so they are dropped. Enable MSS clamping on the gateway or lower the client MTU to around 1400.

Does a VPN make me anonymous?

A corporate VPN is not for anonymity, it moves your traffic to your employer’s network, where it is logged. Consumer VPN services shift trust from your ISP to the VPN provider; they do not remove it, which matters most with free VPNs, where the provider’s funding model decides what happens to your traffic.

Can I use a VPN and still access my local printer?

With a split tunnel, yes, local traffic stays local. With a full tunnel, local network access is normally blocked, which is the intended behaviour and a deliberate security choice.

JA
Written by

Jaspreet Singh

Hey! I'm Jaspreet Singh and I completed a degree in Bachelor of Computer Applications. I have 7+ years of experience in the Network & Security Domain as well as the Cloud Infra Domain. So I love to explore my technical knowledge with you.

Leave a Reply

Your email address will not be published. Required fields are marked *