Sophos Firewall SSL VPN Integration with AuthPoint

Deployment Overview

This document describes how to set up AuthPoint multi-factor authentication (MFA) for your Sophos Firewall SSL VPN client. Your Sophos Firewall must already be configured and deployed before you set up MFA with AuthPoint.

Sophos Firewalls can be configured to support MFA in several modes. For this integration, we set up RADIUS with AuthPoint.

This integration was tested with Sophos Firewall SFVUNL (SFOS 18.0.5 MR-5-Build586).

Sophos Firewall SSL VPN Authentication Data Flow with AuthPoint

AuthPoint communicates with various cloud-based services and service providers with the radius protocol. This diagram shows the data flow of an MFA transaction for a Sophos Firewall SSL VPN client.

sync topology

Before You Begin

Before you begin these procedures, make sure that:

  • You have installed and configured the AuthPoint Gateway (see About Gateways)
  • End-users can log in with the Sophos Firewall SSL VPN client
  • A token is assigned to a user in AuthPoint

Configure Sophos Firewall

Before you configure the Sophos, make sure you have successfully set up your Sophos Firewall WAN, LAN, and DNS, and the AuthPoint Gateway is installed and connected to the Internet.

Define a Local Subnet and Remote SSL VPN Range

  1. Log in to Sophos web UI.
  2. Select System > Hosts and services > IP host.
  3. Click Add.
  4. In the Name text box, enter a name for this IP hose. In our example, we name the IP host Remote SSL VPN range.
  5. For IP version, select IPv4.
  6. For Type, select Network.
  7. In the IP address text box, enter the IP address used for the SSL VPN client to connect from the WAN.

Screenshot of sophos

  1. Click Save.
  2. Select System > Hosts and services > IP host.
  3. Click Add.
  4. In the Name text box, enter a name for this IP host. In our example, we name the IP host Local subnet.
  5. For IP version, select IPv4.
  6. For Type, select Network.
  7. In the IP address text box, enter the IP address that remote clients can access.

Screenshot of sophos

  1. Click Save.

Screenshot of sophos

Configure an SSL VPN Group

  1. Select Configure > Authentication > Groups.
  2. Click Add.
  3. In the Name text box, enter a name for your group. In our example, we name this group Remote SSL VPN group.
  4. From the Group type drop-down list, select Normal.
  5. From the Surfing quota drop-down list, select Unlimited Internet Access.
  6. Leave the default value for other settings.

Screenshot of sophos

  1. Click Save.

Screenshot of sophos

Configure an SSL VPN Policy

  1. Select Configure > VPN > SSL VPN (remote access).
  2. Click Add.
  3. In the Name text box, enter a name for your policy. In our example, we name the policy SSL VPN policy.
  4. In the Identity section, for Policy members, add the group that you created in the previous section. In our example, we add the Remote SSL VPN group.

Screenshot of sophos

  1. In the Tunnel access section, for Permitted network resources (IPv4), add the IP host that created in the previous section. In our example, we add the Local subnet IP host.

Screenshot of sophos

  1. Click Apply.

Configure SSL VPN users

  1. Select Configure > Authentication > Users.
  2. Click Add.
  3. In the Username text box, enter a user name for this user account.
  4. In the Name text box, enter the name of this user.
  5. For User type, select User.
  6. In the Password text box, enter and confirm a password for this user account.
  7. In the Email text box, enter the email address to associate with this user account.

Screenshot of sophos

  1. From the Group drop-down list, select Remote SSL VPN group.
  2. From the Remote access drop-down list, select SSL VPN policy.
  3. Leave the default value for other settings.

Screenshot of sophos

Screenshot of sophos

  1. Click Save.

Add a RADIUS Server

  1. Select Configure > Authentication > Servers.
  2. Click Add.
  3. From the Server type drop-down list, select RADIUS server.
  4. In the Server name text box, enter a name for the RADIUS server. In our example, we name the server AuthPointGW.
  5. In the Server IP text box, enter the host IP address of the machine that the AuthPoint Gateway is installed on.
  6. In the Authentication port text box, enter 1812. If you configured the AuthPoint Gateway to use a different port for communication, enter that port instead
  7. In the Time-out text box, enter 3.
  8. In the Shared secret text box, enter a shared secret key. This key is used to communicate with the RADIUS server (AuthPoint Gateway).

Screenshot of sophos

  1. In the Group name attribute text box, enter radius.

Screenshot of sophos

  1. Click Save.

Configure Authentication Services

  1. Select Configure > Authentication > Services.
  2. Click Add.
  3. In the SSL VPN authentication methods section, select Set authentication method for SSL VPN.
  4. Select the RADIUS server that you configured in the previous section. In our example, we select the AuthPointGW RADIUS server.

Screenshot of sophos

  1. Click Apply.

Verify Device Access Settings

  1. Select System > Administration > Device access.
  2. Make sure the SSL VPN and user portal check boxes are selected.

Screenshot of sophos

Verify SSL VPN Settings

  1. Select Configure > VPN.
  2. Click Show VPN Settings.

Screenshot of sophos

  1. From the SSL VPN tab, make sure the IPv4 Lease Range drop-down list has the correct value.
  2. If necessary, configure the other settings.

Screenshot of sophos

Screenshot of sophos

Screenshot of sophos

Add a Firewall Rule

  1. Select Protect > Rules and policies.
  2. From the Firewall rules tab, select Add firewall rule > New firewall rule.

Screenshot of sophos

  1. In the Rule name text box, enter a name for the rule. In our example, we name this rule Remote SSL VPN access rule.
  2. From the Action drop-down list, select Accept.
  3. From the Rule position drop-down list, select Top.
  4. From the Rule group drop-down list, select None.

Screenshot of sophos

  1. For Source zones, click Add new item and add VPN.
  2. For Source networks and devices, click Add new item and add the IP host you configured in the previous section. In our example, we add the Remote SSL VPN range IP host.
  3. For Destination zones, click Add new item and add LAN.
  4. For Destination networks, click Add new item and add the other IP host you configured in the previous section. In our example, we add the Local subnet IP host.

Screenshot of sophos

  1. Select the Match known users check box.
  2. For Users or groups, click Add new item and add the group that you configured in the previous section. In our example, we add the Remote SSL VPN group.
  3. Leave the default value for other settings.

Screenshot of sophos

  1. Click Save.

Download the SSL VPN Client

  1. Log in to the user portal.

Screenshot of sophos

  1. Select VPN.
  2. From the SSL VPN client section, click Download client and configuration for Windows.

Screenshot of sophos

Configure AuthPoint

Before AuthPoint can receive authentication requests from Sophos Firewall, you must specify Sophos as a RADIUS client resource in AuthPoint. You must also create an authentication policy for the Sophos RADIUS client resource and you must bind the Sophos RADIUS client resource to the AuthPoint Gateway.

Add a Radius Resource in AuthPoint

From the AuthPoint management UI:

  1. From the navigation menu, select Resources.
  2. From the Choose a Resource Type drop-down list, select RADIUS Client. Click Add Resource.

  1. On the RADIUS page, in the Name text box, enter a name for this resource.
  2. In the RADIUS client trusted IP or FQDN text box, enter the IP address that your RADIUS client uses to send RADIUS packets to the AuthPoint Gateway. This must be a private IP address.
  3. In the Shared Secret text box, enter the shared secret that you configured in the previous section. This is the password that the RADIUS server (AuthPoint Gateway) and the RADIUS client (Sophos) use to communicate.
  4. Click Save.

Add a Group in AuthPoint

You must have at least one user group in AuthPoint to configure MFA. If you already have a group, you do not have to add another group.

To add a group to AuthPoint:

  1. From the navigation menu, select Groups.
  2. Click Add Group.
    The New Group page appears.

Screenshot that shows the Groups page.

  1. In the Name text box, type a descriptive name for the group.
  2. (Optional) In the Description text box, type a description of the group.

Screen shot of the New Group page.

  1. Click Save.
    Your group is listed on the Groups page.

Screenshot of the Save button on the New Group page.

Add an Authentication Policy to AuthPoint

Authentication policies specify which resources users can authenticate to and which authentication methods they can use (Push, QR code, and OTP).

You must have at least one authentication policy in AuthPoint that includes the Sophos RADIUS client resource. If you already have authentication policies, you do not have to create a new authentication policy. You can add this resource to your existing authentication policies.

Users that do not have an authentication policy for a specific resource cannot authenticate to log in to that resource.

To configure an authentication policy:

  1. From the navigation menu, select Authentication Policies.
  2. Click Add Policy.

Screenshot of the Add Policy button on the Authentication Policies page.

  1. Type a name for this policy.
  2. From the Select the authentication options drop-down list, select Authentication options and select which authentication options users can choose from when they authenticate.

    If you enable the push and OTP authentication methods for a policy, RADIUS resources associated with that policy will use push notifications to authenticate users.

    QR code authentication is not supported for RADIUS resources.

  1. Select which groups this policy applies to. You can select more than one group. To configure this policy to apply to all groups, select All Groups.
  2. Select the resource that you created in the previous section. If you want this policy to apply to additional resources, select each resource this policy applies to. To configure this policy to apply to all resources, select All Resources.

Screenshot of the Add Policy page with the groups and resources selected

  1. (Optional) If you have configured policy objects such as a Network Location, select which policy objects apply to this policy. When you add a policy object to a policy, the policy only applies to user authentications that match the conditions of the policy objects. For example, if you add a Network Location to a policy, the policy only applies to user authentications that come from that Network Location. Users who only have a policy that includes a Network Location do not get access to the resource when they authenticate outside of that Network Location (because they do not have a policy that applies, not because authentication is denied).

    For RADIUS authentication, policies that have a Network Location do not apply because AuthPoint does not have the IP address of the user.

    If you configure policy objects, we recommend that you create a second policy for the same groups and resources without the policy objects. The policy with the policy objects should have a higher priority.

Screenshot of the Policy Objects drop-down list.

  1. Click Save.
    Your policy is created and added to the end of the policy list.

    When you create a new policy, we recommend that you review the order of your policies. AuthPoint always adds new policies to the end of the policy list.

Screenshot of the Save button on the Add Policy page.

Bind the RADIUS Resource to a Gateway

To use RADIUS authentication with AuthPoint, you must have the AuthPoint Gateway installed on your corporate network and you must assign your RADIUS resources to the Gateway in the AuthPoint web UI. The Gateway functions as a RADIUS server.

If you have not configured and installed the AuthPoint Gateway, see About Gateways.

  1. From the navigation menu, select Gateway.
  2. Select the Name of the Gateway.
  3. In the RADIUS section, in the Port text box, type the port number used to communicate with the Gateway. The default ports are 1812 and 1645.

    If you already have a RADIUS server installed that uses port 1812 or 1645, you must use a different port for the AuthPoint Gateway.

  4. In the Select a RADIUS resource drop-down list, select your RADIUS client resource.
  5. Click Save.

Add Users to AuthPoint

Before you assign users to a group, you must add the users to AuthPoint. There are two ways to add AuthPoint user accounts:

  • Sync users from an external user database
  • Add local AuthPoint users

Each user must be a member of a group. You must add at least one group before you can add users to AuthPoint.

Test the Integration

To test AuthPoint MFA with the Sophos Firewall SSL VPN, you can authenticate with a mobile token on your mobile device. For RADIUS resources, you can choose push or one-time password.

In this example, we show the push authentication method.

  1. Install the downloaded Sophos SSL VPN client on your computer.
  2. Once installed, click the traffic light icon in your taskbar.

Screenshot of sophos

  1. Type your user name and password.

    When you use OTP authentication, you must append your OTP to the end of your password. Do not add a space. You can see the current OTP for your token in the AuthPoint mobile app.

  2. Click OK.

Screenshot of sophos

  1. Approve the authentication request that is sent to your mobile device.
    The VPN connects successfully.