VPN server configured as a Radius client only
Before you begin
-
When configuring your Connection Profile in PacketFence and associating it with your Internal Source, make sure that you’ve selected the following filter:
Connexion type = VPN-Access as the filter
. -
You need to have a working AD or LDAP directory service.
-
This use case supports the use of the standard push notification.
-
This use case supports email enrollment.
Users don't see the authentication prompt where they can select a second factor to authenticate. For this reason, when enrolling their trusted device, users need to specify push notification as their default authentication factor.
Configure MFA in the PacketFence UI
With these configuration steps, you enable communication between PacketFence Gateway and Akamai MFA and specify push notification ad the second factor.
-
Log in to the PacketFence UI.
-
In the navigation menu, select Configuration > Integration > Multi-Factor Authentication.
-
Click New MFA and select Akamai.
-
On the New Multi-Factor Authentication page, enter these settings:
a. Name: Define the name of your integration.
b. App ID. Enter the Integration ID that you generated in the previous step.
c. Signing Key. Enter the Signing ID that you generated in the previous step.
d. Verifying Key. Enter the Verifying ID that you generated in the previous step.
e. Host. Enter the API Host copied from the Akamai MFA integration page. By default, it ismfa.akamai.com
.
f. Radius OTP Method. Select Push to configure push notification as your Radius OTP method.
g. Cache duration. Specify the amount of time PacketFence will store the MFA-related information of the user. By default, it’s 60 seconds.
h. In Post MFA Validation Cache Duration, accept the default 5-second-long cache. -
Click Save.
Associate the Authentication Source in the PacketFence UI
Follow this procedure to enable communication between PacketFence Gateway and your AD or LDAP user authentication source.
-
Log in to the PacketFence UI.
-
In the navigation menu, select Configuration > Policies and Access Control > Authentication Sources.
-
Click New Internal Source > and select AD or LDAP depending on your directory service.
-
On the New Authentication Source page, provide your directory service data to enable the directory's connection with PacketFence Gateway:
- Directory name and description
- Host.
- Base DN
- Username attribute
- Bind DN
- Associate realms
-
To apply a conditional rule to your authentication source, click Add rule and enter the condition. For example, enter
memberof equals cn=otp_user,dc=acme,dc=com
to check if a particular user is a member of a specific group. -
Assign the authentication rule with the following actions:
a. Trigger Radius MFA. Select the MFA integration that you created in the previous step.
b. Role. Select any value, for example, default.
c. Access duration. Select any value, for example, 1 hour. -
Click Save.
Create Connection Profile in the PacketFence UI
Follow this procedure to enable PacketFence to validate the user's credentials against the AD or LDAP directory service.
-
Log in to the PacketFence UI.
-
In the navigation menu, select Configuration > Policies and Access Control > Connection Profiles > Standard Connection Profiles.
-
Click New Connection Profile.
-
Enter the name of the connection profile.
-
Scroll down the page and click Add Filter.
-
In Connection type, select VPN-Access.
-
Scroll down the page and click Add Source.
-
Select the AD or LDAP you created in the previous step.
-
Click Create.
Register your VPN server in the PacketFence UI
-
Log in to the PacketFence UI.
-
In the navigation menu, select Configuration > Policies and Access Control > Network device > Switches.
-
Click New Switch > default.
-
In Host, enter the IP address of your VPN server.
-
In Type, select OpenVPN.
-
Enable the CLI Access Enabled setting by selecting Yes.
-
Click the Radius tab and enter the VPN secret password.
-
Click Create.
See the VPN Configuration Guide for more information on network equipment configuration steps.
Test your setup
-
When you try to access the VPN server, you’re prompted to authenticate with your username and password.
The VPN authentication prompt contains the following input fields:- username
- password
-
Enter your VPN credentials.
-
You receive a push notification on your enrolled authentication device.
-
Tap Allow to acknowledge the access.
-
Akamai MFA grants you access to the VPN server.
Updated almost 3 years ago