Setting up FreeRADIUS with an Active Directory backend for use with Unifi WiFi

Or in other words, how to configure 802.1x authentication with an Active Directory backend. I wrote this for work with a few tweaks, but I figured that it would work just as well as a blog post. Given that $job has a lot of people who aren’t the most Linux-savvy I tried to keep it as simple as I could, but there are a lot of pieces to making this work. ...

March 31, 2026 · 6 min

PSA: Unifi IPSec site-to-site tunnels and DHCP

Bit of a PSA of sorts, as this is the second time that I have run into this particular issue. Scenario: You had a Unifi gateway such as a UDM Pro with a static IP address. You switched your WAN IP from static to dynamic, for whatever reason. (In my case it was a different ISP that doesn’t hand out actual static IPs, only DHCP reservations.) You may find that the router holds onto that old IP, and if you’re like me, you’ll be confused as hell. ...

April 1, 2025 · 1 min