Home / Blog / Web security

When a VPN silently falls back to plaintext under interference

First published Aug 2013•Rewritten Nov 2026•Web security

IPSec/L2TP is a common way to build a VPN: L2TP creates the tunnel, and IPSec is meant to encrypt it. The two negotiate separately, and that separation creates a failure mode that is easy to miss until a network actively interferes with it.

The failure mode

IPSec negotiation for this setup typically runs over UDP port 500. If something on the network path silently drops or corrupts that traffic, instead of blocking it outright, the IKE handshake that should establish encryption never completes. Some client configurations treat a failed IPSec negotiation as optional rather than fatal, and continue to bring up the L2TP tunnel anyway. The user sees a VPN connection that looks successful, but the traffic inside it is unencrypted. Anything capable of intercepting the path can read, and even manipulate, what the user assumes is a protected tunnel.

Why this is easy to miss

From the user's side, the connection indicator and the ability to reach the internet look identical whether the tunnel is encrypted or not. Only comparing connection logs against what a successful IPSec negotiation should look like, or inspecting the traffic itself, reveals that the encryption step never happened. A VPN that fails open this way is arguably worse than no VPN at all, because it creates false confidence in a connection that offers no real protection.

The fix

Most IPSec/L2TP clients have a setting, often phrased as requiring encryption and disconnecting if it cannot be negotiated, that turns this into a visible failure instead of a silent downgrade. Enabling it means an interfered-with connection simply does not connect, which is the correct outcome: a VPN that is visibly broken is far safer than one that is invisibly transparent.

The broader lesson

Any protocol that negotiates security as a separate, optional step from establishing connectivity needs an explicit fail-closed configuration. Without it, interference on the negotiation channel alone, without breaking the connection itself, is enough to strip protection that users have no easy way to verify is present.

Key takeaways

  • IPSec/L2TP negotiates encryption separately from the tunnel itself, which creates a fail-open risk.
  • Blocking IKE negotiation traffic can cause some clients to fall back to an unencrypted tunnel rather than fail.
  • A VPN that appears connected gives no visual indication of whether encryption actually succeeded.
  • Configuring the client to require encryption and disconnect on failure turns a silent downgrade into a visible one.
  • Any protocol with optional security negotiation needs an explicit fail-closed setting.

This note has been rewritten and checked for this edition; it is not a copy of the original post.