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

Configure Radius Server

blog.payperitem.com, April 11, 2025April 11, 2025

Configuring a Windows RADIUS Server (typically via NPS – Network Policy Server) in a deep and secure way involves more than just installing the role and creating a basic policy. You’ll want to cover advanced aspects like:


🔧 1. NPS (RADIUS) Server Installation and Registration

  • Install NPS Role: powershellCopyEditInstall-WindowsFeature NPAS -IncludeManagementTools
  • Register with Active Directory: powershellCopyEditnetsh ras add registeredserver This allows NPS to read user account information.

🔐 2. Secure RADIUS with Certificates (EAP-TLS)

  • Use PEAP or EAP-TLS for wireless or VPN authentication.
  • NPS certificate should be issued from a trusted internal CA:
    • Open mmc.exe → Add Certificates (Local Computer) → Request certificate with Server Authentication EKU.
    • Bind it under:
      NPS → Policies → Network Policies → Constraints → Authentication Methods → EAP → Properties → Select certificate

🔄 3. Define RADIUS Clients (Switches, WAPs, VPNs)

  • Go to NPS → RADIUS Clients and Servers → RADIUS Clients
  • For each device:
    • Friendly Name
    • IP or DNS
    • Shared Secret (Use a strong, unique one per device. Rotate regularly.)
    • Consider using templates if managing many.

📜 4. Create Connection Request Policies

  • Controls who can send requests to this server.
  • Set conditions like:
    • NAS IP
    • NAS Port Type
    • Time of Day
  • Forward to another RADIUS if needed (proxy mode)

📋 5. Create Network Policies

This defines who is allowed, with what conditions, and with what restrictions.

Key Conditions:

  • User Group (from AD)
  • NAS Port Type (e.g., Wireless, Ethernet, VPN)
  • Windows Group Membership
  • Time constraints

Constraints:

  • Authentication methods (e.g., PEAP/MSCHAPv2, EAP-TLS)
  • Idle Timeout
  • Session Timeout
  • Called Station ID/Calling Station ID filters

Settings:

  • RADIUS Attributes:
    • Tunnel-Type, Tunnel-Medium-Type, Tunnel-Private-Group-ID for VLAN assignment
    • Filter-Id for downloadable ACLs (if supported by NAS)
    • Vendor-Specific Attributes (VSA) for Cisco, Aruba, etc.

🛠️ 6. Advanced Tuning

Logging:

  • Enable Accounting and log to:
    • Local SQL Server
    • Remote SQL Server
    • Text Files (careful with privacy/data handling)

Load Balancing:

  • Deploy NPS in redundant mode (multiple NPS servers)
  • Use RADIUS proxy or network devices with multiple RADIUS target options

Health Monitoring:

  • Use Event ID 6272 (Successful) and 6273 (Failed) for diagnostics
  • Export logs to SIEM (Splunk, Sentinel, etc.)

📊 7. High-Security Practices

  • Require EAP-TLS with client certificates (no passwords)
  • Issue short-lived certs via Intune or Auto-enrollment
  • Disable MSCHAPv2 if not needed
  • Use Network Device Enrollment Service (NDES) for non-domain devices
  • Rotate shared secrets on RADIUS clients quarterly

🧠 Optional: PowerShell Automation

You can script some aspects of configuration, for example:

powershellNew-NpsRadiusClient -Name "Cisco-Switch1" `
-Address "10.1.1.10" `
-SharedSecret "SuperSecret123" `
-VendorName "Cisco" `
-State "Enabled"
Active Directory Networking Security Server 2025 Windows

Post navigation

Previous post
Next post

Related Posts

How to Get the Classic (old) Context Menu on Windows 11

April 29, 2025April 29, 2025

If you want to remove the “Show More Options” entry from Windows 11 Context Menu and restore classic Right Click menus in Windows 11 you can use following registry entries. Restore full right click context menu in Windows 11 via Registry Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]@=”” Get the default…

Read More

Configure Softnet ethernet VPN server on Azure step by step

April 17, 2025April 18, 2025

o set up a SoftEther VPN Server on Azure, using a Windows VM, here’s a complete step-by-step guide to get it running securely and efficiently. 🛠️ Overview 🔧 Prerequisites 🧱 Step-by-Step Setup ✅ Step 1: Create a Windows VM in Azure ✅ Step 2: Connect to the VM ✅ Step…

Read More

🔐 Forgotten Passwords & Login Issues: Deep Dive

April 8, 2025April 8, 2025

🔐 Forgotten Passwords & Login Issues: Deep Dive 🧠 Start with Context Questions to ask: 💻 1. Local OS Login (macOS / Windows / Linux) 🔧 macOS 🔧 Windows 🔧 Linux ☁️ 2. Cloud Accounts / SaaS (Microsoft 365, Google, AWS, etc.) 🖥️ 3. Servers: ESXi, vCenter, Linux, AD DC,…

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 }