Skip to content
Tech Master Tech Master

OneStopTechnical Forum

  • Books
  • AI
  • Networking
  • Windows
  • Linux
  • Cloud
  • Mac
  • Active Directory
  • Azure
  • Cloud
  • Exchange
  • M365
  • Server 2025
  • Storage
  • Vsphere
  • Website
  • Database
  • Security
  • Knowledge Base
  • VPN
Tech Master
Tech Master

OneStopTechnical Forum

RADIUS server on Active Directory

blog.payperitem.com, April 7, 2025April 7, 2025

To configure a RADIUS server on Active Directory, you typically use Network Policy Server (NPS), which is Microsoft’s implementation of a RADIUS server and proxy. It integrates tightly with Active Directory to authenticate, authorize, and account (AAA) for network access requests (e.g., VPN, Wi-Fi, 802.1X switch ports, etc.).

Here’s a full guide to get you up and running on a Windows Server domain controller or member server.


✅ Prerequisites

  • Windows Server (2012 or later recommended)
  • Server is domain-joined
  • Active Directory set up
  • Devices (e.g., Wi-Fi AP, VPN, etc.) that support RADIUS

🔧 Step-by-Step: Configure RADIUS (NPS) with Active Directory

1. Install NPS Role

  • Open Server Manager → Add Roles and Features
  • Role-based → Select server → Network Policy and Access Services
  • Under Role Services, check Network Policy Server
  • Finish the wizard and install

2. Register NPS in Active Directory

  • Open NPS console (nps.msc)
  • In the left pane, right-click NPS (Local) → Register server in Active Directory
  • Confirm registration (this allows NPS to read user/computer info from AD)

3. Add RADIUS Clients

  • In NPS → Expand RADIUS Clients and Servers → RADIUS Clients
  • Right-click → New
    • Friendly name: AP1, VPN-Gateway, etc.
    • IP address or DNS name of the RADIUS client
    • Shared Secret: Must match what’s configured on the client device

4. Configure Connection Request Policies (Optional)

  • Usually optional unless you’re proxying RADIUS requests
  • Found under Policies > Connection Request Policies

5. Configure Network Policies

  • Go to Policies > Network Policies
  • Right-click → New
  • Name it (e.g., WiFi Auth)
  • Conditions:
    • Add Windows Groups → Specify AD groups (e.g., VPN Users, WiFiUsers)
    • Add NAS Port Type if filtering by connection type (e.g., Wireless – 802.11)
  • Grant Access
  • Authentication methods:
    • For Wi-Fi: use PEAP (MS-CHAP v2), disable PAP
    • Add a valid server certificate for PEAP
  • Constraints and settings: Customize as needed (Idle timeout, encryption, etc.)

6. Configure Client Device (e.g., Wi-Fi AP)

  • Set RADIUS Server IP to your NPS server
  • Port: 1812 (auth) / 1813 (accounting) by default
  • Use the same Shared Secret
  • Set authentication to WPA2-Enterprise with RADIUS

🔒 Security Tips

  • Use strong shared secrets
  • Use certificates for PEAP (check auto-enrollment via AD if needed)
  • Optionally install NPS on a dedicated RADIUS server, not on DCs

📊 Optional: Enable Accounting

  • Configure RADIUS Accounting if you want logs of who logged in, when, etc.
  • Under RADIUS Accounting > New
  • Log to local file or forward to SIEM/SQL

🛠️ Troubleshooting

  • Use Event Viewer > Custom Views > Server Roles > Network Policy and Access Services for logs
  • Use Wireshark to see RADIUS traffic
  • Verify time sync between devices (important for EAP)
Download ScriptDownload

Active Directory Cloud OpenSource Server 2025 Windows

Post navigation

Previous post
Next post

Related Posts

Windows

How to clone the drive in your Windows computer

January 21, 2025January 26, 2025

When installing a new drive in your computer, you have two (2) options: perform a fresh installation of the operating system and all the programs. Or you can clone the current drive to the new one and preserve the installed operating system and programs. Since many people do not remember…

Read More

Dedicated Security Camera OS (NVR/DVR)

March 31, 2025April 2, 2025

1. Dedicated Security Camera OS (NVR/DVR) ✅ Pros: Easy setup, reliable, integrated AI options.❌ Cons: Limited customization, may require additional hardware. 2. AI-Optimized OS for Custom Solutions ✅ Pros: Highly customizable, best for deep learning-based face detection.❌ Cons: Requires setup, AI expertise needed. 3. Edge AI Appliances ✅ Pros: Efficient,…

Read More

Server Hardening

April 3, 2025April 3, 2025

1. OS-Level Hardening 🔹 Minimal Installation – Install only necessary packages. Avoid GUI on servers unless required.🔹 Update Regularly – Apply security patches promptly using apt update && apt upgrade (Debian) or yum update (RHEL).🔹 Disable Unused Services – Use systemctl disable –now <service> for unnecessary daemons.🔹 Enable SELinux or…

Read More

Recent Posts

  • List of AD Schema Versions
  • OldNewExplorer Free Download For Windows 11, 10, 8 and 7 [Latest Version]
  • How to Get the Classic (old) Context Menu on Windows 11
  • BitLocker Recovery Keys
  • Active Directory and Server hardening

Recent Comments

No comments to show.
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May    
Log in
©2025 Tech Master | WordPress Theme by SuperbThemes
  • Login
  • Sign Up
Forgot Password?
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
body::-webkit-scrollbar { width: 7px; } body::-webkit-scrollbar-track { border-radius: 10px; background: #f0f0f0; } body::-webkit-scrollbar-thumb { border-radius: 50px; background: #dfdbdb }