Connect to NGFW L2TP VPN in macOS

Overview

You can set up an L2TP IPsec connection from macOS to an Untangle NG Firewall appliance for remote VPN access. 

Note: The preferred VPN connection method from macOS based devices uses IKEv2 VPN. See Configuring An IKEv2 IPsec Connection From MacOS To Untangle NG Firewall for instructions.

Prerequisites

Before configuring your macOS based device with an L2TP IPsec connection, you must configure the IPsec server in Untangle NG Firewall to accept L2TP type connections. Refer to the main steps below:

  1. Enable the L2TP/Xauth/IKEv2 Server in the IPsec app and assign an IPsec Secret. See IPsec wiki.
  2. Create users for authenticating to the VPN server. See Local Directory wiki or Directory Connector wiki if you plan to authenticate from a Directory Service.
  3. Confirm L2TP is open through the firewall. There is a default access rule named Allow L2TP in Config > Advanced > Access Rules that must be enabled.

macOS Configuration

To create an L2TP IPsec connection in macOS:

  1. Go to System Preferences > Network.
  2. Click the plus symbol to add a new network interface.
  3. Select VPN as the Interface, and L2TP over IPSec as the VPN Type.
  4. Assign a name to your connection and click Create.
    l2tp-new-connection.png
  5. On the next screen, set the IP address or hostname of your Untangle NG Firewall server and the user account.
    l2tp-settings.png
  6. Click Authentication Settings to configure the user account credentials.
  7. Set the user account password and set the Shared Secret as the IPsec Secret you configured in the prerequisite step.
    l2tp-authentication-settings.png
  8. Click OK to confirm the configuration.
  9. Click Connect to make the connection. Once the connection succeeds, you can see the status with send and receive totals. 
    l2tp-status.png

Full Tunnel VPN Configuration

By default L2TP connections use split tunnel. To use full tunnel and send all Internet traffic over the tunnel, click the Advanced button and enable Send all traffic over VPN connection.

l2tp-advanced.png

Follow
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Powered by Zendesk