Skip to content

L2TP & PPTP Explained

A stack of old computer books

PPTP and L2TP are the two oldest VPN protocols still found on devices today. PPTP is broken beyond repair and should not be used, while L2TP only provides security when it is paired with IPsec, and even that combination is now deprecated by Microsoft. This guide explains how both protocols work, what went wrong with them, and what to use instead.

A stack of old computer books

Photo: Kevin Savetz, via Wikimedia Commons (CC BY 2.0). PPTP and L2TP date from the 1990s.

What Is PPTP?

PPTP stands for Point-to-Point Tunneling Protocol. Microsoft developed it in the mid-1990s, and it was built into Windows from Windows NT 4.0 (1996). It quickly became the standard way to connect remote workers to an office network, because it needed no extra software beyond a username, a password, and a server address.

The protocol is defined in RFC 2637, published in July 1999. Its job is to carry PPP (Point-to-Point Protocol) frames across an IP network, so that two computers can talk as if they were connected by a dial-up line. PPTP was fast and simple, and for a few years that was enough. But its encryption and authentication were designed before modern computing power existed, and both have since been broken. Security researchers demonstrated in 2012 that its authentication could be cracked offline, and Microsoft issued no patch, because the flaws are structural to the design rather than bugs in one implementation.

How Does PPTP Work?

A PPTP connection uses two separate channels at once. First, the client opens a TCP connection to the server on port 1723. This is the control channel, used to set up and manage the session. Second, the actual data travels through a GRE tunnel (Generic Routing Encapsulation, IP protocol 47), which carries the PPP frames. GRE has no port number of its own, which is one reason PPTP can be awkward behind firewalls and carrier-grade NAT.

Authentication is handled inside the PPP layer, usually by MS-CHAPv2 (Microsoft Challenge-Handshake Authentication Protocol version 2). The server sends a random challenge, the client answers with a hash derived from the challenge and the user’s password, and the server checks the answer. Encryption is provided by MPPE (Microsoft Point-to-Point Encryption), which uses the RC4 stream cipher with keys of up to 128 bits, derived from the same authentication material. That last detail is the core of the problem: if an attacker cracks the authentication, they also recover the encryption key.

A CAT8 Ethernet cable

Photo: Raimond Spekking, via Wikimedia Commons (CC BY-SA 4.0). PPTP splits its work across two channels: TCP port 1723 and a GRE data tunnel.

Why PPTP Is Not Safe

PPTP’s security failures are not a matter of opinion or of one bad implementation. Four structural weaknesses make it unsuitable for any sensitive data in 2026.

MS-CHAPv2 can be cracked offline. The challenge-response design reduces to a single 56-bit DES brute force. Researchers demonstrated this at DEF CON 20 in 2012, and modern hardware can complete the attack in hours. Once the password hash is recovered, every recorded session that includes the authentication exchange becomes decryptable.

The encryption is RC4. MPPE uses RC4, a stream cipher the IETF banned from TLS in 2015 because of statistical biases. RC4 also has no mechanism to authenticate the ciphertext, so an attacker can flip bits in encrypted traffic without the receiver noticing.

There is no data integrity check. PPTP provides no message authentication on its payload, so tampering in transit goes undetected.

There is no forward secrecy. Because encryption keys derive directly from the authentication material, a single cracked password exposes past and future sessions alike.

For these reasons, every major platform has moved away from PPTP. Apple removed it in 2016, Android dropped it by 2022, and Microsoft deprecated it in 2024. A free PPTP VPN server or a “pptp vpn free” offer is not a bargain; it is a connection that provides almost no privacy at all. The same warning applies to free L2TP VPN servers found online: a free tunnel that nobody maintains is not a privacy tool.

What Is L2TP?

L2TP stands for Layer 2 Tunneling Protocol. It was published as RFC 2661 in August 1999, the result of a collaboration between Microsoft and Cisco that combined Microsoft’s PPTP with Cisco’s L2F (Layer 2 Forwarding).

L2TP is a tunneling protocol only. It creates the path between two endpoints, but it provides no encryption, no authentication of data, and no integrity checking on its own. That is why it is almost always written as L2TP/IPsec: IPsec supplies the security that L2TP lacks. An L2TP tunnel has two ends, named in RFC 2661 as the LAC (L2TP Access Concentrator) and the LNS (L2TP Network Server). In the voluntary tunneling used by a VPN app, your device acts as its own LAC and the VPN server is the LNS. L2TP runs over UDP port 1701, and it carries a full PPP session, with its own login and address assignment.

How Does L2TP/IPsec Work?

L2TP/IPsec combines two independent protocols, and the connection is built in three phases.

1. IKEv1 negotiates the secure channel. IPsec’s Internet Key Exchange (version 1) authenticates the two ends and agrees on encryption settings, using UDP port 500, with UDP port 4500 for NAT traversal.

2. IPsec encrypts the path. The Encapsulating Security Payload (ESP) encrypts traffic in transport mode, as required by RFC 3193, “Securing L2TP using IPsec”, published in November 2001. Modern implementations commonly use AES-128 or AES-256.

3. L2TP builds the tunnel and data flows through both layers. The L2TP tunnel carries the PPP session, and the PPP layer handles user authentication and address assignment. Every packet is wrapped twice: IPsec ESP wraps the L2TP packet, which wraps the PPP frame, which wraps the original payload. This double encapsulation is the main reason L2TP/IPsec is slower than newer protocols.

A server room with racks of equipment

Photo: Carl Lender, via Wikimedia Commons (CC BY 2.0). L2TP/IPsec in a corporate network.

PPTP vs L2TP at a Glance

PPTPL2TP/IPsec
Full namePoint-to-Point Tunneling ProtocolLayer 2 Tunneling Protocol over IPsec
SpecificationRFC 2637 (July 1999)RFC 2661 (August 1999) and RFC 3193 (November 2001)
EncryptionMPPE with RC4, up to 128-bit keysIPsec ESP, typically AES-128 or AES-256
AuthenticationMS-CHAPv2, crackable offline since 2012IKEv1 plus PPP authentication
TransportTCP 1723 control, GRE protocol 47 dataUDP 1701, plus UDP 500 and 4500 for IPsec
Encrypts on its own?Yes, but brokenNo, L2TP alone encrypts nothing
SpeedFast, because the encryption is weakModerate, slowed by double encapsulation
Firewall traversalPoor, GRE has no port numberModerate, needs several UDP ports open
Status in 2026Broken, deprecated by Microsoft in 2024Legacy, deprecated by Microsoft in 2024

The comparison is not close on security. PPTP should not be used at all. L2TP/IPsec is genuinely encrypted when it is configured with strong ciphers, but it is slower than modern alternatives and being removed from the platforms that once shipped it.

What Microsoft Changed in 2024 and 2026

Microsoft’s deprecation of both protocols is the clearest signal of their status. On 8 October 2024, Microsoft announced that L2TP and PPTP were deprecated in Windows Server Routing and Remote Access Service (RRAS), and recommended SSTP and IKEv2 as replacements. Beginning with Windows Server 2025, new RRAS setups do not accept PPTP or L2TP connections by default, although administrators can still re-enable them.

On 30 October 2026, Microsoft announced that L2TP and PPTP will be removed from future Windows Server releases following Windows Server 2025. Windows Server 2025 is the final release to include and support them, and they remain supported there through its lifecycle, which ends in October 2035. Windows 10 and 11 clients still support outgoing L2TP/IPsec connections, and Android has offered only IKEv2/IPsec types for new VPN profiles since Android 12. Microsoft’s own guidance puts it plainly: it does not recommend using L2TP or PPTP, due to their lack of security features.

SSTP: Microsoft’s Replacement

SSTP, the Secure Socket Tunneling Protocol, is the protocol Microsoft points to as the replacement for PPTP. It is also the reason “sstp vpn” still appears in search results: administrators looking for a Microsoft-native option meet it first.

SSTP wraps PPP traffic in an SSL/TLS tunnel over TCP port 443, the same port used by ordinary HTTPS traffic. That makes it very hard for a firewall to block without also blocking the web. It uses TLS for encryption rather than RC4, and it authenticates the server with a certificate.

SSTP is a reasonable choice on Windows, where it is built in, but it is rarely the best choice elsewhere. It is a Microsoft protocol with limited support outside Windows, it runs over TCP only, and it cannot match the speed of WireGuard or the flexibility of OpenVPN.

Where PPTP and L2TP Still Appear

If both protocols are deprecated, why do people still search for them? Three reasons cover most cases.

Legacy hardware. Old routers, NAS devices, and office firewalls shipped with PPTP or L2TP/IPsec as their only VPN option, and some are still in service. If the hardware cannot run a newer protocol, the honest answer is usually to replace the hardware, not to keep using the broken protocol.

Old setup guides. Tutorials written years ago still recommend PPTP for its simplicity, and some “free VPN” services still offer it because it costs them nothing to run. A guide that recommends PPTP in 2026 is out of date.

Compatibility with very old clients. A handful of embedded devices only speak L2TP/IPsec. In that narrow case, L2TP/IPsec with AES encryption and a strong pre-shared key is defensible as a stopgap, but it should be treated as temporary, with a migration plan to IKEv2 or WireGuard.

What to Use Instead

The replacement depends on the situation, but the short list is the same one our protocol guide recommends.

WireGuard is the default choice for most people in 2026: fast, simple, and built into most VPN apps. Our guide to WireGuard explains how it works, including its public-key model and its UDP-only design.

OpenVPN is the flexible fallback: it runs over TCP or UDP, passes restrictive firewalls on port 443, and supports certificates and central user management.

IKEv2/IPsec is the direct successor to L2TP/IPsec in Microsoft’s own guidance. It reconnects quickly when a mobile device switches networks, and it is built into Windows, macOS, iOS, and Android, which makes it the natural choice for managed corporate devices.

SSL VPN is the business alternative for remote access through a browser or a lightweight client, and it also runs over port 443. Our guide to SSL VPN explains the portal and tunnel models.

A padlock symbolising VPN security

Photo: mikemacmarketing, via Wikimedia Commons (CC BY 2.0). PPTP’s lock is broken: cracking its authentication also recovers its encryption key.

Watch: VPN Protocols

“VPN Protocols – CompTIA Network+ N10-006 – 1.2” by Professor Messer

Network cables plugged into a switch

Photo: ProjectManhattan, via Wikimedia Commons (CC BY-SA 3.0). L2TP/IPsec wraps every packet twice, which is why it runs slower than newer protocols.

A laptop, phone, and books on a desk

Photo: Aleks Dorohovich, via Wikimedia Commons (CC0). Pick WireGuard or OpenVPN instead of PPTP.

Frequently Asked Questions

What is PPTP VPN?

PPTP is the Point-to-Point Tunneling Protocol, a VPN protocol developed by Microsoft in the mid-1990s and defined in RFC 2637. It tunnels traffic over a TCP control connection on port 1723 and a GRE data tunnel, with MS-CHAPv2 authentication and MPPE/RC4 encryption. Its encryption is broken, and Microsoft deprecated it in 2024.

Is PPTP safe to use?

No. PPTP’s MS-CHAPv2 authentication can be cracked offline in hours, its RC4 encryption was banned from TLS in 2015, it has no data integrity checking, and it has no forward secrecy. Apple removed it in 2016, Android dropped it by 2022, and Microsoft deprecated it in 2024.

What is L2TP VPN?

L2TP is the Layer 2 Tunneling Protocol, published as RFC 2661 in 1999 by Microsoft and Cisco. On its own it provides no encryption at all; it only creates the tunnel. In practice it is always paired with IPsec, which supplies encryption and authentication, and the combination is written as L2TP/IPsec.

Is L2TP/IPsec still secure?

It can be, when configured with AES encryption and strong authentication, because the security comes from IPsec rather than from L2TP. But it is slower than modern protocols due to double encapsulation, and Microsoft deprecated it in Windows Server in 2024, with removal announced for future releases after Windows Server 2025. IKEv2 and WireGuard are the recommended replacements.

What is the difference between PPTP and L2TP?

PPTP is a complete but broken protocol: it handles tunneling, authentication, and encryption itself, and all three are weak. L2TP handles only tunneling and relies on IPsec for security. L2TP/IPsec is genuinely encrypted when configured properly; PPTP is not safe in any configuration.

What should I use instead of PPTP or L2TP?

For most people, WireGuard, which most VPN apps now use by default. OpenVPN is the flexible fallback for restrictive networks, IKEv2/IPsec is the best fit for managed corporate devices, and an SSL VPN suits browser-based remote access to office resources.

Sources

11

Every factual claim on this page was verified against a named source above.

More VPN guides

Sofia Lindqvist

Written by

Sofia Lindqvist Privacy & VPN Writer

Sofia's byline covers the privacy side of VPNs: jurisdiction, data-retention law and VPN use while travelling. Articles are based on the text of laws and regulator pages, provider transparency reports and official support documentation. Legal topics are explained in plain language and are information, not legal advice.

How our articles are researched, reviewed and updated