VPN - Configure L2TP Client Configuration using Android, iOS, Windows & Linux Ubuntu

This article will show you how to create a L2TP tunnel to your Nebula and non-Nebula (stand-alone / on-premise) firewall / gateway (USG FLEX, ATP), via your mobile phone, or PC/computer. Testing your results. 

 

Table of Content

1) Configure L2TP on Windows 10

2) Configure L2TP on MacOS 

3) Configure L2TP on Linux Ubuntu

4) Configure L2TP on iPhone iOS

5) Test the Result

5.1 On Windows 10

5.2 On MAC OS

5.3 On Linux Ubuntu

5.4 On iPhone

5.5 On Android

 

1) Configure L2TP on Windows 10

  1. Create a VPN profile.
    "Settings > Network & Internet > VPN > Add a VPN connection"
  2. Configure the required information and click Save.
    mceclip3.png

 

2) Configure L2TP on MacOS 

  1. Create a VPN profile.
    "System Preferences > Network"
    mceclip4.png
  2. Configure required information including firewall’s public IP and account name. Click Authentication Settings to set up passwords and a shared secret(Pre-shared key)
    mceclip5.png
    mceclip6.png
  3. Click Advanced and check “Send all traffic over VPN connection”
    mceclip7.png
    If you're having problems with the routing of the VPN traffic, you can also set the IP, subnet mask and gateway to static under "TCP/IP: 

mceclip0.png

 

 

3) Configure L2TP on Linux Ubuntu

  1. Create a VPN connection.
    "Settings > Network > VPN" and choose L2TP
    mceclip8.png
  2. Configure required information including firewall’s public IP, account name and password.
    mceclip9.png
  3. Configure the Pre-shared key.

    Also, “3des-sha1-modp1024” for Phase 1 and “3des-sha1” for Phase 2
    mceclip10.png

4) Configure L2TP on iPhone iOS

  1. Create VPN connection.
    mceclip11.png

For Android 10:

  1. Create a VPN connection.
    mceclip12.png
  2. Click connect.
    mceclip13.png

 

5) Test the Result

5.1 On Windows 10


mceclip14.png
Ping the server
mceclip15.png
On firewall,

"Firewall > Monitor > VPN connection".

mceclip16.png

 

5.2 On MAC OS


mceclip17.png
Ping the server
mceclip18.png
On Firewall, "Firewall > Monitor > VPN connection".
mceclip19.png

 

5.3 On Linux Ubuntu

Open terminal and use “ifconfig” commands
mceclip20.png
Ping the server
mceclip21.png
On Firewall, "Firewall > Monitor > VPN connection".
mceclip22.png

 

5.4 On iPhone


mceclip24.png
Ping the server
mceclip25.png
On Firewall, "Security gateway > Monitor > VPN connection".
mceclip26.png

 

5.5 On Android


mceclip27.png


Ping the server
mceclip28.png


5.6 On Firewall

"Firewall > Monitor > VPN connection".

mceclip29.png

Articles in this section

Was this article helpful?
2 out of 11 found this helpful
Share