> Source: [sk63324](https://support.checkpoint.com/results/sk/sk63324)

# sk63324 - Configuring Native L2TP Client on iPhone/Android to work with Security Gateway

| Property | Value |
|----------|-------|
| Solution ID | sk63324 |
| Date Created | 2011-06-01 |
| Last Modified | 2022-04-22 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |

## Solution

Gateway Configuration
=====================

**To configure the L2TP Support for the gateways:**

1. Enable L2TP on the specific gateway: ('Gateway Properties \> IPSEC VPN \> Remote Access') Select "Support L2TP" checkbox:  

   ![L2TP definition on the GW](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63324/L2TP.png)
2. From the main menu, click Global Properties \> Remote Access \> VPN - Authentication', select "Support L2TP with Pre-Shared Key".  

   ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63324/L2tp21511100432.jpg)
3. L2TP requires Office Mode definition for the Security Gateway: 'Gateway Properties \> Remote Access \> Office Mode'. **Define:**

   * Allow Office Mode to all users (or to a specific group).
   * Define the Office Mode method. i.e. "Manual (Using IP pool)" and define the Office Mode network pool addresses:

   ![Office Mode definition on GW](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63324/OfficeMode.png)

   Configure the DNS server of the organization and its domain suffix in the "IP Pool Optional Parameters" window: (Office Mode enables a Security Gateway to assign a remote client an IP address. The assignment takes place once the user connects and authenticates. The assignment lease is renewed as long as the user is connected. The address may be taken either from a general IP address pool, or from an IP address pool specified per user group. The address can be specified per user, or via a DHCP server, enabling the use of a name resolution service. With DNS name resolution, it is easier to access the client from within the corporate network.)

   ![DNS configuration](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63324/OptionalParams.png)

   \* For more Office Mode configurations methods and options go to the VPN Gateway Admin guide.
4. Configure a global Pre-Shared key: 'Global Properties \> Remote Access \> VPN Authentication \> Support L2TP with Pre-Shared key':  

   ![pre shared configuration](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63324/Pre-Shared.png)

   **Note:** For Security Gateway versions before R71 there was no GUI for configuring the Pre-Shared key.

   It was configured in a file calls l2tp.conf on the Security Gateway under $FWDIR/conf.

iPhone Configuration
====================

**To configure L2TP on the iPhone:**

1. From your iPhone home screen, go to 'Settings \> General \> Network \> VPN \> Add Configuration'.
2. In the L2TP page: Provide your VPN-1 server FQDN (DNS name) or IP address, your user name, and the global shared secret: ![l2tp on iPhone](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63324/iPhone-l2tp.png)

**Connecting to the** VPN **Security Gateway:**
-----------------------------------------------

Go to Settings and set the VPN switch to "ON". The Password screen appears. Enter your password or (if used) your RSA SecurID one-time-password.

Android Configuration
=====================

**To configure L2TP on the Android device:**

1. Go to device's 'Settings \> Wireless \& Networks \> VPN Settings \> Add VPN' and select "Add L2TP/IPSec PSK VPN". The following window will appear:

   ![Android L2TP definition on iPhone](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63324/AndroidL2TP.png)
2. In the opened window:
   1. Give a VPN Name to your connection (i.e. MyVpn).
   2. In "Set VPN server", provide your VPN-1 server FQDN (DNS name) or IP address.
   3. In "Set IPSec preshared key", set the global pre shared secret key.
   4. LT2P secret and IPSec identifier fields should be empty
   5. You might be asked to enter the storage credentials. In case it is the first time that you are using the storage, you will have to define a new password for it.
   6. Tap on menu to save changes.
3. The VPN Connection will be added to your VPN Settings configuration.

Connecting to the VPN Security Gateway
--------------------------------------

Go to device's 'Settings \> Wireless \& Networks \> VPN Settings' and select your VPN connection. The user name and Password screen appears. Enter your credentials for authentication.

**Important:** We don't recommend using the L2TP option in Android due to security vulnerability issues.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
