How to configure Windows RADIUS and Unifi Controller

Page content

In this post I will show how to set up a RADIUS server on Windows Server 2019 to provide 802.1X Wireless Connections to

Install the RADIUS server role

So first I will install the Network Policy and Access Services (NPAS) server role either on a domain controller or member server.

Example image Example image Example image Example image

Configure Firewall

Open Windows Defender Firewall with Advanced Security and create a New rule for the incoming port 1812 and 1813:

Example image Example image Example image Example image Example image Example image

Configure RADIUS server

Open the Network Policy Server console and select the RADIUS server for 802.1X Wireless or Wired Connections template to configure NPS by using the wizard.

Example image Example image Example image

In the example I added pfsense as client but you need to add all the Unifi APs.

Example image Example image Example image Example image Example image Example image

Connect Unifi Controller to RADIUS server

First we need to create a new wireless network in our Unifi controller UI. We need to set it to WPA Enterprise and enable Security Settins

Example image

In the Create new RADIUS profile dialog box, name the profile and set the addresses for both the RADIUS Auth Server and the Accounting server.

In the Password/Shared Secret, enter the shared password that will be used by the Unifi APs to authenticate with the RADIUS server.

Example image Example image