Application Layer Gateway for PPTP Protocol

The NetScaler appliance supports Application Layer Gateways (ALGs) for the Point-to-Point Tunneling Protocol (PPTP).

PPTP is a network protocol that enables secure transfer of data from a remote client to an enterprise server by creating a tunnel across TCP/IP-based data networks. PPTP encapsulates PPP packets into IP packets for transmission over the Internet. PPTP establishes a tunnel for each communicating PPTP network server (PNS)-PPTP Access Concentrator (PAC) pair. After the tunnel is set up, enhanced generic routing encapsulation (GRE) is used to exchange PPP packets. A call ID in the GRE header indicates the session to which a particular PPP packet belongs.

The NetScaler appliance recognizes PPTP packets that arrive on the default TCP port, 1723. The appliance parses PPTP control packets, translates the call ID, and assigns a NAT IP address. For two-way data communication between the client and server, the NetScaler appliance creates an LSN session entry based on the server call ID, and an LSN session based on the client call ID. The appliance then parses the GRE data packets and translates call IDs on the basis of the two LSN session entries.

For PPTP protocol, the NetScaler appliance also includes timeout setting for any idle PPTP LSN sessions. If a PPTP LSN session is idle for a time that exceeds the timeout setting, the NetScaler appliance removes the session.


The following are the limitations of PPTP ALG on a NetScaler appliance:

  • PPTP ALG is not supported for hairpin LSN flow.
  • PPTP ALG is not supported to work with any RNAT configuration.
  • PPTP ALG is not supported inNetScaler clusters.

Configuring PPTP ALG

Configuring PPTP ALG on the NetScaler appliance consist of the following tasks:

  • Create an LSN configuration and enable PPTP ALG on it. In an LSN configuration, the LSN group includes the PPTP ALG setting. For instructions on creating an LSN configuration, see Configuration Steps for LSN.
  • (Optional) Set the global timeout for idle PPTP LSN sessions.

To enable PPTP ALG for an LSN configuration by using the CLI

At the command prompt, type:

add lsn group <groupname> -clientname <string> [-pptp ( ENABLED | DISABLED )]

show lsn group

To set the global timeout for idle PPTP LSN sessions by using the CLI

At the command prompt, type:

set appAlgParam -pptpGreIdleTimeout <positive_integer>

show appAlgParam


In the following sample LSN configuration, PPTP ALG is enabled for subscribers in the network.

Also idle PPTP LSN session timeout is set to 200 secs.

add lsn client LSN-CLIENT-1


bind lsn client LSN-CLIENT-1 -network -netmask


add lsn pool LSN-POOL-1


bind lsn pool LSN-POOL-1


add lsn group LSN-GROUP-1 -clientname LSN-CLIENT-1  -pptp ENABLED


bind lsn group LSN-GROUP-1 -poolname pool1 LSN-POOL-1


set appAlgParam -pptpGreIdleTimeout 200

Application Layer Gateway for PPTP Protocol

In this article