Step by Step Guide to implement SMS authentication to Palo Alto Next-Generation Firewall SSL-VPN 

Step by Step guide for securing the authentication to the Palo Alto Networks Next Generation firewall SSL-VPN solution with Nordic Edge One Time Password Server, delivering two-factor authentication via SMS to your mobile phone.

Table of Contents


1       Summary


This is the complete installation guide for securing the authentication to your Palo Alto Networks Next-Generation SSL-VPN solution with Nordic Edge One Time Password Server, delivering two-factor authentication via SMS to your mobile phone. You will be able to test the product with your existing Palo Alto Networks Next-Generation Firewall SSL-VPN solution server and your LDAP user database, without making any changes affecting existing users. The guide will also allow you to make the complete installation efficiently, using a maximum of 1 hour. Nordic Edge provides several methods for delivering one time passwords, like e-mail, tokens, mobile clients, Pledge, prefetch, Yubikey etc.

However in this test configuration we are only going to use SMS.

This is a step-by-step guide covering the entire installation from A to Z. It is based on the scenario that you are running your Palo Alto Networks Next-Generation Firewall SSL-VPN solution against Active Directory, and that you install the One Time Password Server on a Windows Server. The One Time Password Server is platform independent and works with all other LDAP user databases, like eDirectory, Sun One, Open LDAP etc. If you are not running Active Directory or Windows and if you have any questions regarding the slight differences in the installation process, you are most welcome to contact us at support@nordicedge.se and we will take you through the entire process.

Versions

Palo Alto Networks Next-Generation Firewalls SSL-VPN version 3.1.1 and above

Nordic Edge One Time Password Server 3.x

Definitions

In this guide the Palo Alto Networks Next-Generation Firewall SSL-VPN solution is referred as "SSL-VPN-Server"

2 Prerequisites


You will need a server, for example a VMware virtual machine, with Windows Server 2003 or higher installed with Ethernet in bridge mode. The server must have a static ip-address configured and must also be able to reach your DNS-servers, your SSL-VPN solution and Active Directory. Since the software is quite small (315 mb) and easy to remove, you can also use any existing server from your network.

Important information regarding communication

The One Time Password Server is a software that can be installed on any existing server in your network or DMZ.

– The One Time Password Server must be able to communicate (Outbound traffic) with your LDAP or JDBC User Database. Default port for LDAP and Secure LDAP are TCP port 389 / 636.

– The SSL-VPN solution must be able to communicate (Outbound traffic) with the One Time Password Server via Radius, UDP port 1812 or 1645 (Outbound traffic).

– If you want to use the Nordic Edge SMS Gateway, the One Time Password Server must be able to communicate (Outbound traffic) with otp.nordicedge.net and otp.nordicedge.se with HTTPS on TCP port 443.

In the following test-scenario you will need to communicate with RADIUS port 1812 or 1645 and use the Nordic Edge SMS Gateway.

3 Getting started


3.1 Register and download the software

 Go to www.nordicedge.net and click "PRODUCTS" and then "Downloads"

Type in your name and contact details to receive the software.

You will receive a link for downloading the software. A 30 days evaluation license will be sent via e-mail when you download the software.

Download the 32 or 64 bit version depending on your platform.

4       Installation


4.1      Start the installation

Start the installation on the server where you want to install the One Time Password Server

 

Please note that if you are installing on a Windows 2008 Server you need to right click on the otp3install.exe using explorer and click on “Run as Administrator”.

 


Click Next

Click Next


Click Next

4.2      Installing license

Choose the license.dat you received via e-mail. 

Click Next


Click Next


Click Next

Click Install

Click Next

Leave default on Yes and click “Done”
Click Done

5   Configuring the One Time Password Server

5.1  Start the OTP Configurator

Start the OTP Configurator by clicking on the left button – “Configuration”              

5.2   Configure the One Time Password Server

On the Server page you can set the length of the one-time password and for how long it should be valid. The default value is set to five minutes.

You can also set a default country prefix, which means you will not need to set it in the mobile attribute.

For more information regarding the optional setting please see One Time Password Server 3 – Administration manual

For now, leave this page as default and go on to the next part – Configure RADIUS.

5.3      Configure RADIUS

Change to the RADIUS tab and configure the RADIUS port you want to use to communicate with your SSL-VPN server. In this example we are using RADIUS port nb 1645.

 Click Save config.


5.4      Configure databases

In this setup we are going to use the Microsoft Active Directory LDAP database.

Change to the Databases tab and click on the LDAP Database button.

5.5      Configure LDAP Host Settings

For this configuration we will use the active directory installed on the same server as the One Time Password Server. We will use the internal IP-address (127.0.0.1) as host address.

We will use the standard LDAP port No. 389 to communicate with Active Directory.

Admin DN will be the Administrator user to search for user objects in the Active Directory database. For now this user only need read rights to the user objects attributes but be aware that later you might want to use options like disable accounts or the Pledge Enrollment concept from the Pledge Mobile Client. In this event the Admin DN need write rights to modify the disable account attribute and to store oath-keys into an optional user attribute.

Configure your LDAP host settings and click test. You should now get a messages saying “LDAP connection success”


Click OK and Save

 

Next step is to configure the LDAP database settings.

5.6   Configure the LDAP database settings

The BASE DN is the search base from where OTPServer will start looking for user objects.

Click on the button with three dots at the right side of the Base DN field to browse your LDAP Database.

Select an Organization Unit or Organization in Active Directory and click OK.


5.7      Configure search filter

Next step is to configure the search filter for One Time Password to search users via selected object classes and attributes according to the Microsoft Active Directory schema.

Click on the “Sample Button” and choose the filter template for MS Active Directory and click OK twice.

5.8    Test LDAP Authentication

Click on the Test LDAP Authentication button and type in the userid of a user you know exist in the directory. 

Type in the password

If configuration is correct you will see the following success message.

6 Configure the SSL-VPN client settings.

Since One Time Password Server is also a RADIUS-server, the Palo Alto Next-Generation Firewall SSL-VPN is considered a client to the One Time Password Server.

Next step is to configure the settings for this client.

In the left pane click on ”Clients” 

Type in a name for your SSL-VPN server and the ip address to your SSL-VPN server.

Type in the RADIUS shared secret.

Choose the Active Directory you configured earlier as User Database.

Click Save



7    Configure Delivery Method

The Delivery Methods category is meant for enabling and configuring one or more delivery methods that can be used by the OTP Server to send one-time passwords.

 

One Time Password Server offers various methods like SMS, Oath Tokens, Instant Messaging, HTTP, Yubikey.

In this example we will use SMS with the Nordic Edge SMS-service as the SMS-provider.

During the evaluating phase we offer customers to use our Nordic Edge SMS-service free of charge for 30 days from the activation of the Demo Account.

In the left Pane, click “Delivery Methods” and then Nordic Edge SMS. In the right pane enable Nordic Edge SMS Gateway.

To Request a demo account click “Request a demo account”.


Click “Yes”


You should now get a success message and the Username and Password for the Nordic Edge SMS-gateway has automatically been filled in. Click OK and Save Config.





Restart the One Time Password Server as Windows Service

In the server panel for click “Shutdown”


In Windows Control Panel, open Administrative Tools / Services

Find the Nordic Edge OTP Server Service, right click on that service and click “Start”.





9  Add mobile phone number with Microsoft Management Console

Add a mobile phone number to your test user mobile phone attribute by starting the Microsoft MMC, select the test user and enter the mobile phone number into the Mobile attribute.


10 Configure the Palo Alto SSL-VPN to use RADIUS and Nordic Edge One Time Password Server.

Configuring the Palo Alto SSL-VPN for sms-authentication

 

10.1 Create RADIUS Profile

10.1.1 Using a web browser, start the Palo Alto Management Console and click on the ”Device” tab.

10.1.2 Click on RADIUS on the left hand pane.

10.1.3 Click on “New” to create a new RADIUS Profile.



10.1.4 Name your OTP Server and add your OTP Server to the Servers list. Type in the IP address RADIUS Port and shared secret. Click OK.

You have now configured the RADIUS Server Profile.

10.2 Creating an Authentication Profile

 

10.2.1 The next step is to create the Authentication Profile. In the left hand pane, click on Authentication Profile and then click “New” at the bottom of the window.

10.2.2 Name your Authentication Profile, choose RADIUS as the authentication method and then your OTP Server Radius Server Profile as the Server Profile.

10.2.3 Edit your ”Allow-list” and add the relevant users or user groups. In our example we add a test user jdoe.

Your Authentication Profile is now configured.

10.3 Configure the SSL/VPN Portal

We now proceed with configuration of the SSL/VPN Portal. This is accessed by clicking on the “Network” tab.

 

10.3.1 Click SSL-VPN on the left hand pane and then select “New” from the bottom of the window.

 

3.2 Name your SSL-VPN Portal

3.3 Choose the appropriate tunnel interface that routes the network for your remote clients.

3.4 Choose your SSL-VPN Authentication Profile.

3.5 Choose a web certificate for your Portal

3.6 Choose your external interface and corresponding IP address

3.7 Click on the CLient configuration tab.

3.8 Add appropriate DNS servers and / or wins-servers.

3.9 Configure an IP-pool (The same network that is routed to your tunnel interface).

3.10 Choose the appropriate networks to route through your Palo Alto.

3.11 Click OK.

3.12 Click ”Commit” on the top right hand side of the window.

You have now finished configuring the SSL-VPN portal.

10.4. Testing

 

10.4.1 Surf to the Palo Alto SSL-VPN portal


10.4.2 Type in your userid and password.
     

You will receive a one-time password to your mobile phone within a couple of seconds.

10.4.3 Type in the OTP in the field ”Please enter your one-time password” and click login.

You are now logged in to the SSL-VPN portal.

11      Purchase

If you want to purchase the product, you are more than welcome to contact us at e-mail sales: sales@nordicedge.se. phone: +46 8 122 07 500 fax: +46 8 122 07 508.

12     Technical questions

If you have any technical questions, please contact us at support@nordicedge.se 

 

Thank you for showing interest in our product!

The Nordic Edge One Time Password Server Team

Comments are closed.