Saltar para o conteúdo principal

Migrar de RADIUS Local (NPS) para RADIUS como Serviço

Este guia abrangente detalha a arquitetura técnica, a metodologia de implementação e o impacto nos negócios da migração do Microsoft Network Policy Server (NPS) local para um modelo RADIUS como Serviço nativo da cloud. Fornece a líderes de TI e arquitetos de rede estruturas práticas para reduzir os custos operacionais, eliminar pontos únicos de falha e proteger a autenticação empresarial em locais distribuídos.

📖 5 min de leitura📝 1,066 palavras🔧 2 exemplos práticos3 perguntas de prática📚 8 definições principais

Ouça este guia

Ver transcrição do podcast
PODCAST SCRIPT: Migrating from On-Premises RADIUS (NPS) to RADIUS as a Service Duration: ~10 minutes | Voice: UK English, Male, Senior Consultant tone --- SEGMENT 1: INTRODUCTION AND CONTEXT Welcome to the Purple WiFi technical briefing series. Today we're tackling a migration that's sitting on the roadmap of a significant number of enterprise IT teams right now: moving away from on-premises RADIUS — specifically Microsoft's Network Policy Server — to a cloud-hosted RADIUS as a Service model. If you're managing WiFi authentication across a hotel group, a retail estate, a stadium, or a public-sector campus, this is directly relevant to you. The on-premises NPS model has served us well for the better part of two decades, but the operational overhead, the single-point-of-failure risk, and the scaling limitations are becoming increasingly hard to justify — particularly when cloud-native alternatives now offer enterprise-grade reliability at a fraction of the total cost of ownership. Over the next ten minutes, we'll cover the technical architecture of both approaches, walk through a structured migration methodology, look at two real-world implementation scenarios, and finish with the key decision frameworks you need to make this call confidently. Let's get into it. --- SEGMENT 2: TECHNICAL DEEP-DIVE First, let's make sure we're aligned on what RADIUS actually does in your network stack. RADIUS — Remote Authentication Dial-In User Service — is the protocol defined in RFC 2865 that handles authentication, authorisation, and accounting for network access. In a WiFi context, it's the backbone of IEEE 802.1X port-based access control. When a device connects to a WPA2-Enterprise or WPA3-Enterprise SSID, the access point acts as a RADIUS client — what we call a Network Access Server — and forwards the authentication request to the RADIUS server. The server validates the credentials, typically against Active Directory or an LDAP directory, and returns an Access-Accept or Access-Reject response. That's the fundamental flow. Now, in the on-premises NPS model — Network Policy Server is Microsoft's RADIUS implementation bundled with Windows Server — you're running that authentication logic on hardware you own, in a data centre or server room you maintain. The NPS server holds your network policies, your certificate infrastructure for EAP-TLS or PEAP-MSCHAPv2, and your connection request policies. It works. It's mature. But it comes with a set of operational realities that compound over time. The first is hardware dependency. Your NPS server is a physical or virtual machine that requires patching, capacity planning, and eventual hardware refresh. In a multi-site deployment — say, a hotel group with properties across the UK — you're either running a centralised NPS with WAN dependency, or you're deploying NPS instances at each site and managing them individually. Neither is elegant. The second is availability. A single NPS instance is a single point of failure for your entire authentication infrastructure. Yes, you can deploy NPS in a failover pair, but that doubles your hardware and licensing overhead, and it still doesn't give you the geographic redundancy that a cloud service provides natively. The third is scalability. NPS was designed for corporate LAN environments. When you're handling thousands of concurrent authentication requests during a stadium event or a conference centre peak, the throughput limitations of a single NPS instance become very apparent. Authentication latency spikes, and users experience connection failures at exactly the moment you can least afford it. RADIUS as a Service addresses all three of these constraints architecturally. The cloud RADIUS provider runs a distributed, geo-redundant cluster of RADIUS servers. Your access points point to cloud-hosted RADIUS endpoints rather than an on-premises server. Authentication requests are load-balanced across the cluster, and failover is automatic and transparent. The provider handles patching, capacity scaling, and certificate management. From your perspective as the network operator, RADIUS becomes a consumed service rather than a managed component. The authentication protocols themselves don't change. You're still running IEEE 802.1X with EAP-TLS, PEAP-MSCHAPv2, or EAP-TTLS depending on your client device mix. The difference is where the RADIUS server lives and who is responsible for its operational continuity. There's an important security consideration here that I want to address directly, because it comes up in almost every client conversation. Moving RADIUS to the cloud means your authentication traffic is traversing the public internet to reach the cloud RADIUS endpoint. This is mitigated through two mechanisms. First, RADIUS traffic between the Network Access Server and the RADIUS server is protected using a shared secret and MD5-based message authentication. Second, and more importantly for modern deployments, you should be running RadSec — RADIUS over TLS, defined in RFC 6614 — which wraps the entire RADIUS conversation in a TLS tunnel. This gives you transport-layer encryption equivalent to HTTPS, eliminating the MD5 vulnerability and providing mutual authentication between the NAS and the RADIUS server. Any cloud RADIUS provider worth considering should support RadSec as standard. On the identity integration side, cloud RADIUS services typically support LDAP and LDAPS connections back to your on-premises Active Directory, or native integration with Azure Active Directory and Entra ID via SAML or SCIM. This means you don't need to migrate your user directory — the cloud RADIUS service queries your existing identity store, maintaining your existing user lifecycle management processes. For compliance-conscious organisations — and that includes anyone handling payment card data under PCI DSS, or personal data under GDPR — cloud RADIUS providers that are SOC 2 Type II certified and ISO 27001 accredited provide a stronger compliance posture than most organisations can achieve with self-managed NPS infrastructure. --- SEGMENT 3: IMPLEMENTATION RECOMMENDATIONS AND PITFALLS Right, let's talk about how you actually execute this migration without taking your authentication infrastructure offline. The methodology I recommend is a five-phase approach. Phase one is audit and inventory. Document every RADIUS client — every access point, every switch, every VPN concentrator — along with its current shared secret, the EAP method it's using, and any vendor-specific attributes in your NPS policies. This is the unglamorous work, but skipping it is the number one cause of migration failures. Phase two is pilot deployment. Stand up your cloud RADIUS instance and point a non-production SSID or a single test site at it. Validate that your EAP method works end-to-end, that your identity integration is functioning, and that your accounting data is flowing correctly. Phase three is parallel running. This is the critical risk mitigation step. Configure your access points with both the on-premises NPS server and the cloud RADIUS server as authentication targets, with the cloud service as primary and NPS as fallback. Run in this configuration for a minimum of two weeks across a full business cycle. Monitor authentication success rates, latency, and any policy discrepancies. Phase four is cutover. Remove the NPS fallback configuration and commit to cloud RADIUS as your sole authentication infrastructure. Do this during a planned maintenance window, and have a rollback procedure documented and tested. Phase five is decommission. Once you've validated stable operation for thirty days post-cutover, decommission the NPS servers and reclaim the hardware or virtual machine resources. The pitfalls I see most frequently are: certificate trust chain issues — specifically, client devices that don't trust the cloud RADIUS server's certificate because the CA isn't in their trusted store. Resolve this through your MDM or Group Policy before cutover. The second common pitfall is firewall rules. Cloud RADIUS requires outbound UDP 1812 and 1813 from your access points to the cloud endpoints, or TCP 2083 for RadSec. Ensure your network perimeter allows this traffic. Third: shared secret complexity. If your existing NPS shared secrets are weak, use the migration as an opportunity to rotate to cryptographically strong secrets, or better yet, move to RadSec and eliminate shared secrets entirely. --- SEGMENT 4: RAPID-FIRE Q&A Let me run through the questions I get most often on this topic. Can we keep Active Directory on-premises? Yes, absolutely. Cloud RADIUS connects to your on-premises AD via LDAPS. Your directory stays where it is. What happens if our internet connection goes down? This is the key dependency shift. With cloud RADIUS, internet connectivity becomes a dependency for authentication. Mitigate this with redundant WAN links or a local RADIUS proxy that caches authentication for known devices during outages. Does this affect our PCI DSS compliance? Moving to a certified cloud RADIUS provider typically improves your compliance posture. Ensure your provider can supply SOC 2 Type II reports and is included in your annual QSA assessment scope. How long does a full migration take? For a single site, two to four weeks. For a multi-site estate of fifty or more locations, plan for three to six months with a phased rollout. --- SEGMENT 5: SUMMARY AND NEXT STEPS To wrap up: the case for migrating from on-premises NPS to RADIUS as a Service is compelling on operational, financial, and compliance grounds. The migration itself is low-risk when executed with a structured parallel-running phase. The key technical decisions are your EAP method selection, your identity integration approach, and whether to implement RadSec for transport security — which I'd strongly recommend for any new deployment. Your immediate next steps: conduct the audit of your current RADIUS clients and policies, engage your cloud RADIUS provider for a pilot environment, and review your firewall rules and certificate trust chains before you start. For organisations running Purple WiFi's guest access platform, the RADIUS as a Service capability integrates directly with the guest WiFi authentication flow, giving you a single control plane for both corporate 802.1X authentication and guest network access management — with the analytics and compliance reporting built in. Thanks for listening. The full technical reference guide is available on the Purple website, and our solutions team is available for a scoping conversation if you're ready to move forward. --- END OF SCRIPT

header_image.png

Resumo Executivo

Durante quase duas décadas, o Network Policy Server (NPS) da Microsoft tem sido a implementação RADIUS padrão para redes empresariais. No entanto, à medida que os operadores de locais se expandem por localizações distribuídas — desde cadeias de retalho a grupos hoteleiros globais — o encargo operacional de gerir a infraestrutura de autenticação local tornou-se uma responsabilidade significativa.

A migração para RADIUS como Serviço transfere a autenticação de um componente de hardware gerido para um serviço cloud consumido. Esta transição arquitetónica elimina o ponto único de falha inerente às implementações NPS autónomas, remove os ciclos de atualização de hardware e fornece a escalabilidade elástica necessária para ambientes de alta densidade, como estádios e centros de conferências. Para gestores de TI e arquitetos de rede, este guia fornece uma metodologia estruturada e neutra em relação ao fornecedor para migrar a autenticação 802.1X para a cloud sem impactar o tráfego de produção, garantindo a conformidade com PCI DSS e GDPR e reduzindo o OpEx da infraestrutura de autenticação em até 80%.

Análise Técnica Detalhada: Arquitetura e Padrões

Para compreender a migração, devemos primeiro examinar a mudança arquitetónica na forma como o controlo de acesso baseado em porta IEEE 802.1X é fornecido.

As Limitações do NPS Local

Numa implementação tradicional, os pontos de acesso atuam como Network Access Server (NAS), encaminhando os pedidos de autenticação para um servidor NPS local. O servidor NPS avalia as políticas de pedido de ligação, valida as credenciais em relação a um arquivo de identidade (tipicamente Active Directory via LDAP) e retorna uma mensagem Access-Accept ou Access-Reject.

Este modelo apresenta três restrições críticas para redes modernas:

  1. Dependência e Manutenção de Hardware: O NPS requer máquinas físicas ou virtuais dedicadas, exigindo patching contínuo, planeamento de capacidade e gestão do ciclo de vida.
  2. Complexidade de Alta Disponibilidade: Atingir a redundância requer a implementação do NPS num par de failover, duplicando os custos de licenciamento sem fornecer verdadeira redundância geográfica.
  3. Estrangulamentos de Débito: Durante picos de concorrência — como a entrada num estádio ou horas de pico de vendas no retalho — uma única instância NPS pode tornar-se um estrangulamento, levando a tempos limite de autenticação e a uma experiência de utilizador degradada.

A Arquitetura RADIUS na Cloud

RADIUS como Serviço abstrai a camada de autenticação. Os fornecedores de cloud operam clusters de servidores RADIUS distribuídos e geo-redundantes. O NAS aponta para estes endpoints da cloud, e os pedidos são balanceados automaticamente.

architecture_comparison.png

Segurança de Transporte: O Papel do RadSec Ao mover o RADIUS para a cloud, o tráfego de autenticação atravessa a internet pública. Enquanto o RADIUS tradicional usa um segredo partilhado e hashing MD5, as implementações modernas devem implementar o RadSec (RADIUS over TLS, RFC 6614). O RadSec envolve toda a conversação RADIUS num túnel TLS (tipicamente porta TCP 2083), fornecendo encriptação da camada de transporte equivalente a HTTPS e autenticação mútua entre o NAS e o endpoint RADIUS da cloud.

Integração de Identidade O RADIUS na cloud não requer a migração do seu diretório de utilizadores. Os serviços tipicamente suportam ligações LDAPS de volta ao Active Directory local ou integrações nativas de API com o Azure Active Directory (Entra ID) via SAML ou SCIM. Isto garante que os seus processos de gestão do ciclo de vida do utilizador existentes permanecem intactos.

Para locais que utilizam plataformas Guest WiFi , o RADIUS na cloud integra-se diretamente, fornecendo um plano de controlo unificado para autenticação corporativa 802.1X e acesso à rede de convidados, completo com WiFi Analytics avançados.

Guia de Implementação: Uma Metodologia de 5 Fases

Executar uma migração sem tempo de inatividade requer uma abordagem estruturada e faseada.

migration_checklist.png

Fase 1: Auditoria e Inventário

Antes de fazer quaisquer alterações, documente o estado atual:

  • Clientes RADIUS: Identifique cada NAS (pontos de acesso, switches, concentradores VPN).
  • Políticas: Documente as políticas de pedido de ligação e de rede NPS existentes, incluindo os Atributos Específicos do Fornecedor (VSAs) utilizados para a atribuição de VLAN.
  • Métodos EAP: Identifique quais os métodos de Extensible Authentication Protocol em uso (por exemplo, EAP-TLS, PEAP-MSCHAPv2).

Fase 2: Implementação Piloto

Provisione a instância RADIUS na cloud e configure um SSID não-produtivo ou um único site de teste. Valide a integração do diretório de identidade (por exemplo, sincronização Entra ID) e garanta que o método EAP funciona de ponta a ponta.

Fase 3: Execução Paralela (Mitigação de Risco)

Configure os dispositivos NAS de produção para usar tanto o servidor RADIUS na cloud (Primário) quanto o servidor NPS legado (Fallback). Execute esta configuração por um mínimo de duas semanas. Monitorize as taxas de sucesso de autenticação, métricas de latência e fluxos de dados de contabilidade para identificar quaisquer discrepâncias de política antes da transição.

Fase 4: Transição

Durante uma janela de manutenção programada, remova a configuração de fallback do NPS legado dos dispositivos NAS. Comprometa-se inteiramente com a infraestrutura da cloud. Garanta que o seu procedimento de rollback está documentado e testado.

Fase 5: Desativação

Após 30 dias de operação estável, desative de forma segura os servidores NPS legados e recupere os recursos de computação.

Melhores Práticas e Conformidade

Ao projetar a sua arquitetura RADIUS na cloud, siga os seguintes padrões:

  • Obrigatoriedade do RadSec: Nunca envie tráfego RADIUS pela internet pública usando UDP padrão 1812/1813 se o RadSec (TCP 2083) for suportado pelo seu hardware NAS.
  • Cadeias de Confiança de Certificados: Garanta que os dispositivos cliente confiam no CertAutoridade de Certificação (CA) que emitiu o certificado do servidor RADIUS na cloud. Envie a CA raiz para os dispositivos geridos via MDM ou Política de Grupo antes da migração.
  • Postura de Conformidade: Selecione um fornecedor de RADIUS na cloud que mantenha a certificação SOC 2 Tipo II e a acreditação ISO 27001. Isto simplifica significativamente as suas avaliações anuais de PCI DSS, particularmente para ambientes de Retalho e Hotelaria .

Para princípios mais amplos de design de rede, consulte os nossos guias sobre Configurar WiFi para Empresas: Um Guia para 2026 e Compreender RSSI e Força do Sinal para um Planeamento Ótimo de Canais .

Resolução de Problemas e Mitigação de Riscos

Modo de Falha Causa Raiz Estratégia de Mitigação
Tempos Limite de Autenticação Firewall a bloquear UDP de saída 1812/1813 ou TCP 2083. Verifique se as regras da firewall de perímetro permitem tráfego de saída para os intervalos de IP específicos do fornecedor de RADIUS na cloud.
Erros de Confiança de Certificado Os dispositivos cliente não têm a CA Raiz na sua loja de confiança. Implemente a CA Raiz via MDM/GPO antes da Fase 3 (Execução Paralela).
Falha na Atribuição de VLAN Atributos Específicos do Fornecedor (VSAs) não mapeados corretamente nas políticas da cloud. Replique os formatos exatos de string VSA do NPS para o motor de políticas RADIUS na cloud durante a Fase 1.
Impacto de Interrupção da WAN A perda de internet impede o acesso ao RADIUS na cloud. Implemente ligações WAN redundantes ou um proxy RADIUS local que armazene credenciais em cache para dispositivos conhecidos.

ROI e Impacto no Negócio

A migração para RADIUS as a Service proporciona resultados de negócio mensuráveis:

  • Redução de Custos: Elimina a aquisição de hardware, o licenciamento do Windows Server e as horas de engenharia gastas em patching e manutenção. A redução típica de OpEx é de 60-80%.
  • SLA de Fiabilidade: Os fornecedores de cloud oferecem SLAs de tempo de atividade de 99,99% com suporte financeiro, em comparação com os típicos 97-98% alcançados por implementações NPS de site único.
  • Agilidade: Novos sites podem ser ativados instantaneamente sem o provisionamento de hardware de autenticação local, acelerando os prazos de implementação para centros de Transporte e instalações de Saúde .

Ouça a nossa equipa de consultoria sénior discutir as implicações estratégicas nesta apresentação de 10 minutos:

Definições Principais

RADIUS (Remote Authentication Dial-In User Service)

A networking protocol that provides centralized Authentication, Authorization, and Accounting (AAA) management for users who connect and use a network service.

The core protocol used by enterprise WiFi networks to validate user credentials before granting network access.

NPS (Network Policy Server)

Microsoft's implementation of a RADIUS server and proxy, bundled as a role in Windows Server.

The legacy on-premises infrastructure that organizations are actively migrating away from to reduce maintenance overhead.

NAS (Network Access Server)

The device that acts as the gateway to the network and passes authentication requests to the RADIUS server.

In a wireless context, the NAS is typically the WiFi Access Point or Wireless LAN Controller.

RadSec (RADIUS over TLS)

A protocol defined in RFC 6614 that transports RADIUS packets over a TCP connection encrypted with TLS.

Essential for cloud RADIUS deployments to ensure credential data is encrypted while traversing the public internet.

EAP (Extensible Authentication Protocol)

An authentication framework frequently used in wireless networks and point-to-point connections.

Determines how the client and server securely exchange credentials (e.g., certificates via EAP-TLS, or passwords via PEAP).

VSA (Vendor-Specific Attribute)

Custom attributes defined by hardware vendors within the RADIUS protocol to support proprietary features.

Crucial during migration; VSAs are often used to assign authenticated users to specific network VLANs dynamically.

LDAPS (Lightweight Directory Access Protocol over SSL)

A secure protocol for querying and modifying directory services like Active Directory.

Used by cloud RADIUS services to securely query on-premises identity stores without migrating the user directory to the cloud.

802.1X

An IEEE standard for port-based network access control (PNAC).

The underlying standard that uses RADIUS to ensure only authenticated devices can pass traffic onto the enterprise LAN or WLAN.

Exemplos Práticos

A 200-property hotel group currently runs local NPS servers at each site for staff 802.1X authentication. They are migrating to Entra ID (Azure AD) and want to decommission the local servers. How should they approach the migration?

  1. Deploy a cloud RADIUS service that integrates natively with Entra ID via SAML/SCIM.
  2. Configure the cloud RADIUS policies to map Entra ID groups (e.g., 'Front Desk', 'Management') to specific VLAN VSAs.
  3. At a pilot property, configure the access points to use RadSec to connect to the cloud RADIUS endpoint.
  4. Push the cloud RADIUS server's Root CA to all staff devices via Microsoft Intune.
  5. Run parallel authentication at the pilot site, then execute a phased rollout across the remaining 199 properties.
Comentário do Examinador: This approach removes 200 physical/virtual servers from the estate, drastically reducing the attack surface and maintenance overhead. Integrating directly with Entra ID eliminates the need for complex site-to-site VPNs back to a central Active Directory.

A stadium with 50,000 capacity experiences authentication failures on their corporate SSID during major events because their on-premises NPS server cannot handle the throughput of thousands of devices roaming simultaneously.

  1. Audit the existing NPS policies and EAP methods.
  2. Provision a cloud RADIUS service capable of auto-scaling to handle high authentications per second (APS).
  3. Establish an LDAPS connection from the cloud RADIUS service to the stadium's on-premises Active Directory.
  4. Update the stadium's high-density wireless LAN controllers to point to the cloud RADIUS endpoints as the primary authentication servers.
Comentário do Examinador: By offloading the RADIUS processing to a cloud cluster, the stadium leverages elastic compute resources that scale dynamically during event ingress, resolving the bottleneck without requiring the venue to over-provision expensive local hardware.

Perguntas de Prática

Q1. Your organization is migrating to Cloud RADIUS. The security team mandates that no authentication traffic can be sent over the internet in cleartext or using deprecated hashing algorithms like MD5. What protocol must you configure on your wireless LAN controllers?

Dica: Look for the protocol that wraps RADIUS in a TLS tunnel.

Ver resposta modelo

You must configure RadSec (RADIUS over TLS). RadSec establishes a TLS tunnel over TCP port 2083 between the NAS and the cloud RADIUS server, providing transport-layer encryption and mutual authentication, satisfying the security team's requirements.

Q2. During Phase 3 (Parallel Running) of your migration, you notice that users are authenticating successfully against the cloud RADIUS server, but they are not being placed in the correct network segments. What is the most likely configuration gap?

Dica: How does a RADIUS server tell an access point which network segment to use?

Ver resposta modelo

The Vendor-Specific Attributes (VSAs) for dynamic VLAN assignment have not been configured correctly in the cloud RADIUS policies. You must ensure the exact VSA strings used in the legacy NPS server are replicated in the cloud environment so the NAS knows which VLAN to assign to the user.

Q3. A client device is repeatedly failing EAP-TLS authentication against the new cloud RADIUS service, but it works fine against the legacy NPS server. The device logs show an 'untrusted server' error. How do you resolve this?

Dica: EAP-TLS requires the client to trust the server's identity.

Ver resposta modelo

The client device does not have the Root Certificate Authority (CA) that issued the cloud RADIUS server's certificate in its trusted root store. You must deploy the Root CA to the client device using a Mobile Device Management (MDM) solution or Group Policy.