Point-to-Point Tunneling Protocol (PPTP) is a VPN protocol that creates a secure tunnel by encapsulating Point-to-Point Protocol (PPP) frames inside IP packets, enabling remote users to access a private network over the Internet.
- Uses TCP port 1723 for control communication
- Encapsulates data using GRE (Generic Routing Encapsulation)
- Establishes a logical tunnel between client and VPN server

Key Concepts of PPTP
- Point-to-Point Communication: Establishes a direct logical connection between a client and a VPN server.
- Tunneling: Encapsulates PPP packets inside IP packets so data can travel securely across the Internet.
- Encapsulation: Wraps original data with additional headers to ensure proper transmission through the tunnel.
- Authentication: Verifies user identity before allowing access to the private network.
- Encryption: Protects transmitted data from unauthorized access, though PPTP encryption is considered weak by modern security standards.
Working
It is called a Layer 2 tunneling protocol because it carries PPP frames, but it operates over an IP (Layer 3) network using TCP and GRE.

Client–Server Communication
- The VPN client initiates the connection request to the PPTP server.
- The PPTP server receives the request and authenticates the user before allowing tunnel access.
Types of Information Flow
- Control Messages: Establish, manage, and terminate the VPN tunnel.
- Data Packets: Carry user traffic through the tunnel after it is set up.
Technical Details
- Uses GRE (Generic Routing Encapsulation) to transport PPP frames through the tunnel.
- Uses TCP port 1723 for control communication and IP protocol 47 for GRE traffic.
- Supports MPPE encryption (commonly up to 128-bit) for protecting data in transit.
- Common authentication includes MS-CHAPv2.
Types of Tunneling
1. Voluntary Tunneling
It is a client-initiated VPN method where the user device starts the PPTP tunnel to reach a private network securely over the Internet.
- The VPN client software runs on the user’s device (laptop/PC/mobile).
- The client initiates the tunnel directly to the PPTP server using TCP 1723 and GRE.
- User authentication happens between the client and the PPTP server.
2) Compulsory Tunneling
This is a network-initiated method where a device in the access network automatically creates the tunnel on behalf of the user.
- The tunnel is established by a network device such as a Network Access Server (NAS), not by the client.
- The client may not need to run VPN software explicitly (the access network enforces tunneling).
- The NAS forwards user traffic into a PPTP tunnel toward the PPTP server.
Advantages
- Setup is straightforward on many operating systems and network devices.
- Uses relatively lightweight encapsulation, so it can perform well on low-end systems.
- Typically provides better speed than heavier VPN protocols due to simpler encryption/processing.
- Supported by many legacy clients, servers, and older network environments.
- Can be used where basic tunneling is needed and strong security is not a requirement.
Disadvantages
- PPTP has known vulnerabilities in authentication and encryption, so it is not recommended for sensitive data.
- Common PPTP authentication (MS-CHAPv2) can be attacked if passwords are weak, making credential compromise easier.
- Even with 128-bit MPPE, PPTP does not provide the same level of protection as modern protocols.
- PPTP relies on GRE (IP protocol 47), which is often blocked by firewalls/NAT environments, causing connection failures.
- Many organizations have replaced PPTP with more secure VPN protocols (like L2TP/IPsec, IKEv2, or OpenVPN/WireGuard).