跳至主要内容

Grandstream GWN 接入点与 Purple WiFi 集成

本权威技术参考指南详细介绍了如何将 Grandstream GWN 接入点与 Purple 的访客 WiFi 和分析平台进行集成。它涵盖了 Grandstream Captive Portal 配置、RADIUS AAA 设置、围墙花园(walled garden)设置、带有动态 VLAN 引导的安全员工 802.1X 认证以及多租户 PPSK 细分——为大规模部署访客和员工 WiFi 的 MSP 及 IT 团队提供可操作的逐步指导。

📖 9 分钟阅读📝 2,079 🔧 2 应用实例4 练习题📚 10 关键定义

收听本指南

查看播客转录
Welcome to the Purple Technical Briefing Series. I'm your host, and today we're covering a deployment pattern that's becoming increasingly common across hospitality, retail, and multi-tenant properties: integrating Grandstream GWN access points with Purple's guest WiFi platform. If you're an MSP, an in-house IT team, or a network architect who's been handed a Grandstream GWN deployment and asked to bolt on a branded captive portal with analytics, this episode is for you. We'll cover the full stack: guest splash page redirection, walled garden configuration, secure staff WiFi using 802.1X, and multi-tenant segmentation using Grandstream's Private Pre-Shared Key feature. Let's get into it. --- First, some context. Grandstream's GWN series is a solid mid-market access point range. You've got the GWN7600 and GWN7630 for indoor deployments, the GWN7660 and GWN7664 for Wi-Fi 6 environments, and the GWN7610 as a ceiling-mount option for higher-density spaces. They're managed either through GWN Manager, which is an on-premise controller you install on a Linux or Windows server, or through GWN dot Cloud, which is Grandstream's cloud-hosted management platform, now rebranded as GDMS Networking. The good news for MSPs is that both management platforms support captive portal configuration natively. You can build the portal policy, customise the splash page, and associate it with an SSID entirely within GWN Manager or GWN dot Cloud. But for enterprise deployments where you need GDPR-compliant data capture, marketing automation, and real-time analytics, you're going to replace that native portal with an external platform. That's where Purple comes in. Purple operates as a cloud overlay. It sits above your hardware and provides the captive portal, the RADIUS authentication layer, the analytics engine, and the marketing tools. Purple supports 80,000 live venues and has processed 440 million logins in 2024 alone, so the platform is well-proven at scale. The integration with Grandstream GWN follows the same standards-based approach Purple uses across Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, and Ubiquiti UniFi. --- Let's get into the technical architecture. The guest WiFi flow on Grandstream GWN with Purple works like this. A guest connects to your guest SSID. Their device sends an HTTP request to any website. The GWN access point intercepts that request and issues an HTTP 302 redirect to the Purple portal URL. The guest lands on your branded splash page, hosted by Purple. They authenticate, whether that's via email, social login, SMS verification, or a custom form. Purple's platform validates that authentication, records the consent and data in line with GDPR, and then sends a RADIUS Access-Accept back to the GWN access point. The AP grants internet access. The whole flow takes around three to five seconds from connection to internet access. Now, the key configuration components on the Grandstream side are: the captive portal policy, the splash page settings, the walled garden, and the SSID association. Let me walk through each one. --- Step one: configure the captive portal policy in GWN Manager or GWN dot Cloud. Navigate to Captive Portal, then Policy List, and create a new policy. Give it a descriptive name, something like "Purple-Guest-Portal". Set the Authentication Type to RADIUS Server. You'll then see fields for RADIUS Server Address, RADIUS Server Port, and RADIUS Server Secret. Enter Purple's RADIUS server IP address and port 1812 for authentication. Your shared secret comes from the Purple portal admin console, under the venue's hardware configuration section. Set the RADIUS Authentication Method to PAP, which is what Purple's captive portal flow uses. Under Landing Page, set this to Redirect to External Page, and enter your Purple portal redirect URL. This is the URL that guests will be sent to when they first connect. Again, this comes from your Purple admin console. Set the Expiration time to match your venue's session policy. For a hotel, 24 hours is typical. For a conference venue, you might set this to the duration of the event. For a retail environment, two to four hours is common. Enable Failsafe Mode. This is important. If the GWN access point can't reach Purple's RADIUS server, failsafe mode grants internet access anyway rather than blocking all guests. For most hospitality and retail deployments, a brief RADIUS outage should not result in all guests losing connectivity. --- Step two: configure the walled garden. The walled garden is the list of domains and IP addresses that guests can access before they've authenticated through the portal. If you get this wrong, guests will see a blank page or a broken portal, and they'll blame the WiFi. In GWN Manager, the walled garden is configured under the captive portal policy as Pre-Authentication Rules. Add the following domains as allow rules: the Purple portal domain, which is portal dot purple dot ai; any CDN domains that Purple's splash page loads assets from, including cloudfront dot net using a wildcard entry; Apple's captive portal detection endpoint, captive dot apple dot com; and Google's connectivity check endpoint, connectivitycheck dot gstatic dot com. Purple's support portal has a dynamic walled garden generator at support dot purple dot ai. Select Grandstream from the hardware list, choose your authentication methods, and it generates the exact domain list you need. Use that list. Don't try to build it manually from scratch. One decision you need to make: do you include captive dot apple dot com in the walled garden or not? If you include it, iOS devices will not show the Captive Network Assistant mini-browser automatically. Guests will need to open a browser manually to reach the portal. If you exclude it, iOS fires the mini-browser automatically when the device connects. For most hospitality deployments, you want the mini-browser to appear, so leave captive dot apple dot com out of the walled garden. --- Step three: configure the SSID. In GWN Manager, navigate to SSID and edit your guest SSID. Enable Captive Portal and select the policy you just created. Set the SSID to WPA2-Personal with a simple open password, or configure it as an open SSID if your venue prefers that approach. The security in this flow comes from the portal authentication, not the WiFi password. Enable Client Isolation. This prevents guests from seeing each other's devices on the network. It's a basic security requirement and a PCI DSS consideration if your venue processes card payments on the same infrastructure. Assign the SSID to your guest VLAN. VLAN 10 is a common convention for guest traffic. Make sure your upstream switch and router are configured to route that VLAN to the internet with appropriate firewall rules. --- Now let's talk about Staff WiFi using 802.1X. IEEE 802.1X is the standard for port-based network access control. For staff WiFi, it replaces the shared pre-shared key with per-user credentials, validated against an identity provider. When a staff member connects, the GWN access point acts as the authenticator, their device is the supplicant, and Purple's RADIUS server is the authentication server. In GWN Manager, create a separate SSID for staff. Set the Security Mode to WPA2-Enterprise, which enables 802.1X. Configure the RADIUS server settings with Purple's RADIUS IP, port 1812, and your shared secret. Enable RADIUS Accounting on port 1813 so you get a full audit trail of who connected, when, and for how long. This audit trail is what you need for GDPR compliance and for responding to any security incidents. For the EAP method, you have two main options. EAP-TLS uses digital certificates on both the server and the client device. It's the most secure option, but it requires a Mobile Device Management platform to push certificates to staff devices. If you have Microsoft Intune or Jamf, EAP-TLS is the right choice. PEAP, which stands for Protected EAP, uses a username and password inside an encrypted TLS tunnel. It's easier to deploy, particularly for BYOD environments, but you must ensure staff are trained not to accept certificate warnings. A rogue access point can harvest PEAP credentials if users click through certificate errors. Enable Dynamic VLAN assignment in the SSID settings. When this is on, the RADIUS server can return a VLAN ID in the Access-Accept packet, and the GWN AP will place the connecting device on that VLAN. This means you can have a single staff SSID but automatically segment IT staff onto VLAN 20, management onto VLAN 21, and point-of-sale devices onto VLAN 40, all based on the user's identity in Purple's directory. The RADIUS attributes for dynamic VLAN are: Tunnel-Type set to VLAN, which is attribute value 13; Tunnel-Medium-Type set to IEEE-802, which is attribute value 6; and Tunnel-Private-Group-ID set to the VLAN number as a string. These three attributes in the Access-Accept packet are all the GWN AP needs to steer the device to the correct VLAN. --- Now for the feature that's particularly relevant for multi-tenant properties: Grandstream Private Pre-Shared Keys, or PPSK. PPSK is a mechanism that allows a single SSID to support multiple unique passwords, each mapped to a different VLAN or network policy. Think of a build-to-rent apartment block, a co-working space, or a serviced office building. You want one SSID visible to everyone, but each tenant gets their own password that puts them on their own isolated network segment. In GWN Manager, PPSK is configured under the SSID settings. Set the Security Mode to WPA2-Personal, then enable PPSK. You can then create individual PSK entries, each with a unique password and an associated VLAN ID. When a device connects using Tenant A's password, the AP places it on VLAN 31. When a device uses Tenant B's password, it lands on VLAN 32. The tenants share the same SSID but are completely isolated from each other at the network layer. For larger deployments, Grandstream also supports PPSK with RADIUS backend. In this mode, the AP sends the PSK as a RADIUS attribute to the authentication server, which validates it and returns the appropriate VLAN assignment. This is where Purple's Identity-Based Networks feature integrates directly. Purple can manage the PPSK database, validate keys against its directory, and return dynamic VLAN assignments, giving you centralised management of hundreds of tenant credentials from a single platform. The RADIUS attribute used for PPSK validation is typically the Tunnel-Password attribute, or a vendor-specific attribute depending on firmware version. Check Grandstream's release notes for your specific firmware, as the attribute mapping has evolved across GWN Manager versions. --- Let me cover the two most common failure modes I see in Grandstream deployments with external portals. The first is the redirect not firing. A guest connects to the SSID, opens a browser, and gets a "site can't be reached" error instead of the portal page. The most likely cause is a walled garden misconfiguration. The portal page itself is being blocked pre-authentication. Open your browser developer tools on a test device connected to the guest SSID, look at the network tab, and identify which requests are failing. Add those domains to your pre-authentication rules. The second failure mode is RADIUS timeout. The AP sends an Access-Request to Purple's RADIUS server and gets no response. This usually means a firewall is blocking UDP port 1812 outbound from the AP's management VLAN to Purple's RADIUS IP range. Check your firewall rules. Purple's RADIUS IP addresses are documented in the Purple admin console under venue settings. Make sure both the primary and secondary RADIUS IPs are permitted. A third one worth mentioning: Dynamic VLAN not working. Staff connect and land on the wrong VLAN. The most common cause is that Enable Dynamic VLAN is not checked in the SSID settings in GWN Manager. It's a single checkbox that's easy to miss. The second cause is a shared secret mismatch. If the shared secret on the AP doesn't match the one configured in Purple, the AP silently drops the RADIUS response and falls back to the default VLAN. --- Let me give you two real-world scenarios to make this concrete. Scenario one: a 120-room hotel. The hotel runs GWN7660 access points managed through GWN dot Cloud. They need a branded guest portal for guests, a secure staff network for front desk and housekeeping, and a separate management VLAN for the property management system. The configuration uses three SSIDs: Guest WiFi on VLAN 10 with the Purple captive portal policy; Staff WiFi on VLAN 20 with WPA2-Enterprise and PEAP authentication against Purple's RADIUS; and a hidden Management SSID on VLAN 30 for PMS terminals. Dynamic VLAN assignment on the staff SSID means housekeeping devices land on VLAN 21 with restricted internet access, while front desk devices land on VLAN 20 with full access. Purple's analytics dashboard shows the hotel operator daily guest counts, session durations, and opt-in rates for marketing, giving the marketing team the data they need to run targeted campaigns. Scenario two: a 40-unit build-to-rent apartment block. The operator runs GWN7630 access points with GWN Manager on-premise. Each apartment needs its own isolated network. The operator uses PPSK with RADIUS backend. Purple manages 40 unique tenant credentials, each mapped to a dedicated VLAN. Residents connect to the single "BuildingConnect" SSID using their unit's password. Purple's portal handles the initial onboarding flow, captures resident consent, and provides the operator with occupancy analytics and engagement data. When a resident moves out, the operator revokes their PPSK credential in Purple's admin console, and access is immediately terminated. No need to change the SSID password or reconfigure the APs. --- Rapid fire. Three questions I get asked constantly on Grandstream deployments. Question one: Can I use GWN dot Cloud instead of GWN Manager for the Purple integration? Yes. The captive portal configuration in GWN dot Cloud is functionally identical to GWN Manager. The menu paths are the same. The RADIUS and walled garden settings are in the same locations. GWN dot Cloud is the better choice for MSPs managing multiple sites, since you get a single pane of glass across all deployments. Question two: Does Purple support Grandstream's native analytics alongside its own? Purple replaces the native captive portal analytics with its own, more detailed dataset. You get session counts, dwell times, opt-in rates, demographic data from form fields, and integration with marketing platforms. The native GWN analytics for RF performance, AP health, and client counts remain available in GWN Manager or GWN dot Cloud alongside Purple's portal analytics. Question three: What firmware version do I need on the GWN APs for PPSK with RADIUS? PPSK with RADIUS backend requires GWN firmware 1.0.19 or higher on the GWN76xx series. Check Grandstream's release notes before deployment. Running outdated firmware is the single most common cause of unexpected behaviour in PPSK deployments. --- To wrap up. Integrating Grandstream GWN access points with Purple is a straightforward deployment when you follow the right sequence. Configure your RADIUS server settings in the captive portal policy first. Build your walled garden using Purple's domain generator tool. Associate the policy with your guest SSID and enable client isolation. For staff WiFi, enable WPA2-Enterprise with dynamic VLAN assignment. For multi-tenant properties, use PPSK with RADIUS backend and manage credentials centrally through Purple. The five things to get right: RADIUS on UDP 1812 with a matching shared secret; the walled garden covering all portal asset domains; client isolation enabled on the guest SSID; dynamic VLAN enabled in the SSID settings; and PPSK firmware at version 1.0.19 or higher. Get those five right, and you have a solid, scalable deployment that will serve your venue for years. Purple's onboarding team can validate your configuration before go-live, and the platform's 99.999% uptime means you're not going to be explaining portal outages to hotel guests at two in the morning. Thanks for listening. For more technical guides on enterprise WiFi integrations, visit purple dot ai. Next episode, we'll be covering dynamic VLAN assignment with Microsoft Entra ID and Purple's SecurePass feature. Until then.

header_image.png

执行摘要

在企业场所部署高性能无线网络需要平衡无缝的用户体验与强大的技术安全性。对于采用 Grandstream GWN 架构的组织(从酒店、零售到多租户物业),Grandstream Captive Portal 是用户互动和访问控制的主要网关。本指南提供了将 Grandstream GWN 接入点与 Purple 的 访客 WiFiWiFi 分析 平台集成的逐步操作指南。

通过从基础的预共享密钥(Pre-Shared Keys)升级到基于 RADIUS 的认证和基于身份的网络(Identity-Based Networks),您可以为访客、员工和租户提供安全、细分的访问。本指南涵盖了关键的配置组件:RADIUS AAA 设置、HTTP 302 重定向、围墙花园(walled garden)例外、动态 VLAN 引导以及专用预共享密钥(PPSK)多租户隔离。Purple 在全球 80,000 多个活跃场所运行,并在 2024 年处理了 4.4 亿次登录(Purple 内部数据),这证明了该平台在大规模应用中的成熟度。

技术深挖

集成架构

Grandstream GWN 硬件与 Purple 之间的集成依赖于行业标准的 RADIUS 和 HTTP 重定向协议。当用户连接到访客 SSID 时,GWN 接入点会拦截其初始 HTTP 请求,并向 Purple 托管的 Captive Portal URL 发送 HTTP 302 重定向。在用户通过电子邮件、社交登录、短信或自定义表单进行身份验证后,Purple 会验证该会话,并通过 UDP 端口 1812 向接入点发送 RADIUS Access-Accept 数据包,从而授予网络访问权限。RADIUS 计费(Accounting)在 UDP 端口 1813 上运行,为 GDPR 和 PCI DSS 合规性提供完整的会话审计追踪。

architecture_overview.png

Grandstream GWN 接入点通过以下两个平台之一进行管理。GWN Manager 是一款安装在 Linux 或 Windows 服务器上的本地控制器,适用于单站点部署以及有数据主权要求的组织。GDMS Networking(前身为 GWN.Cloud)是 Grandstream 的云托管管理平台,是需要通过单一窗口管理多个站点的 MSP 的首选。这两个平台提供完全相同的 Captive Portal 和 SSID 配置选项。

对于员工和租户网络,架构将转向 IEEE 802.1X 和 PPSK。在 802.1X 部署中,接入点充当认证器,在连接设备与 Purple 的 RADIUS 服务器之间代理可扩展身份验证协议(EAP)消息。Purple 会根据其目录验证凭据,并可以返回厂商特定属性(VSA)以将设备动态引导至特定 VLAN。这就是实践中的基于身份的网络:一个 SSID,多个网络细分,全部由用户身份驱动。

对于多租户环境,Grandstream 的 PPSK 功能允许单个 SSID 支持多个唯一的密码。与 RADIUS 后端集成时,接入点会将输入的 PSK 发送到 Purple 进行验证,从而实现集中式凭据管理和动态网络细分,而无需广播数十个 SSID。带有 RADIUS 后端的 PPSK 要求 GWN76xx 系列上的 GWN 固件版本为 1.0.19 或更高。

ppsk_vlan_diagram.png

用于动态 VLAN 引导的 RADIUS 属性

动态 VLAN 分配由 Access-Accept 数据包中返回的三个标准 IETF RADIUS 属性控制。必须在 Purple 的 RADIUS 用户配置文件中为每个角色或租户配置这些属性:

属性 描述
Tunnel-Type (64) 13 (VLAN) 将隧道类型指定为 VLAN
Tunnel-Medium-Type (65) 6 (IEEE-802) 将介质指定为 IEEE 802
Tunnel-Private-Group-ID (81) 例如 "20" 目标 VLAN ID(字符串形式)

Access-Accept 响应中必须同时存在这三个属性。如果缺少任何一个,GWN 接入点将忽略 VLAN 引导指令,并将设备置于默认 VLAN 中。

实施指南

步骤 1:配置 Captive Portal 策略

无论您使用的是 GWN Manager 还是 GDMS Networking,请导航至 Captive Portal > Policy List 并创建一个新策略。下表总结了 Purple 集成所需的设置:

字段 备注
策略名称 Purple-Guest-Portal 使用描述性名称
认证类型 RADIUS Server 启用 RADIUS 认证流程
RADIUS 服务器地址 [来自 Purple 管理控制台] 主 RADIUS IP
RADIUS 服务器端口 1812 标准 RADIUS 认证端口
RADIUS 服务器密钥 [来自 Purple 管理控制台] 准确复制并粘贴
RADIUS 认证方法 PAP Purple Captive Portal 所需
落地页 重定向至外部页面 启用外部门户重定向
重定向 URL [来自 Purple 管理控制台] 您的唯一门户 URL
过期时间 24 小时(酒店)/ 4 小时(零售) 匹配您的会话策略
故障安全模式 已启用 如果 RADIUS 无法访问,则授予访问权限

启用故障安全模式。如果 GWN 接入点无法连接到 Purple 的 RADIUS 服务器,故障安全模式将授予互联网访问权限,而不是阻止所有访客。对于酒店和零售部署,短暂的 RADIUS 中断应不应导致所有访客失去连接。

步骤 2:配置围墙花园

围墙花园定义了设备在进行认证前可以访问哪些域名。围墙花园配置不完整是导致门户加载失败最常见的原因。在 GWN Manager 中,围墙花园是在 Captive Portal 策略下的**认证前规则 (Pre-Authentication Rules)**中进行配置的。

您至少必须包含:Purple portal 域名(portal.purple.ai)、CDN 资源域名(*.cloudfront.net)以及 Google 的连接性检查端点(connectivitycheck.gstatic.com)。对于社交媒体登录,请添加相关的社交平台域名。

针对 captive.apple.com 的处理是刻意设计的。排除它可以让设备在连接时自动触发 iOS Captive Network Assistant (CNA) 微型浏览器。如果您希望访客手动打开浏览器,则将其包含在内。对于大多数 酒店业 部署,排除它能提供更好的访客体验。

请使用 support.purple.ai 上的 Purple 动态围墙花园生成器。从硬件列表中选择 Grandstream,选择您的认证方式,该工具就会生成您所需的准确域名列表。请勿手动构建该列表。

步骤 3:将 Captive Portal 与访客 SSID 进行关联

导航至 SSID 设置并编辑您的访客网络。启用 Captive Portal 功能并选择您创建的策略。将 SSID 分配给您指定的访客 VLAN(通常约定为 VLAN 10)。启用**客户端隔离 (Client Isolation)**以防止访客设备之间相互通信——这是任何处理刷卡支付的场所的基本安全要求,也是 PCI DSS 的考量因素。

步骤 4:使用 802.1X 配置安全的员工 WiFi

为员工创建一个单独的 SSID。将安全模式设置为 WPA2-Enterprise 以启用 IEEE 802.1X。将 RADIUS 服务器配置为指向端口 1812 上的 Purple,并在端口 1813 上启用 RADIUS 计费。此计费数据可提供 GDPR 合规和安全事件响应所需的审计轨迹。

对于 EAP 方法,请根据您的设备管理能力进行选择。EAP-TLS 使用双向证书认证——这是最安全的选择,可完全消除凭据被盗的风险,但需要移动设备管理 (MDM) 平台(如 Microsoft Intune 或 Jamf)将证书推送到设备。PEAP 在加密的 TLS 隧道内使用用户名和密码,更易于在 BYOD 环境中部署,但需要对员工进行有关证书警告的培训。

在 SSID 设置中启用动态 VLAN (Dynamic VLAN)。Purple 的 RADIUS 服务器将返回三个隧道属性,以引导每个已认证的设备进入其指定的 VLAN。IT 员工进入 VLAN 20,管理层进入 VLAN 21,POS 终端进入 VLAN 40——所有这些都来自同一个 SSID,全部由身份驱动。

有关员工网络策略的更多指导,请参阅 员工 WiFi 条款和条件:法律与合规要点

步骤 5:配置多租户 PPSK

对于多租户环境,创建一个采用 WPA2-Personal 安全模式的 SSID 并启用 PPSK。要将 Purple 用作 PPSK 验证的 RADIUS 后端,请在 SSID 的 PPSK 部分中配置 RADIUS 服务器设置。Purple 负责管理 PSK 数据库、验证每个密钥并返回相应的 VLAN 分配。

每个租户都会收到一个唯一的密码。当他们连接时,AP 会将 PSK 发送给 Purple,Purple 则返回正确的 VLAN ID。租户 A 进入 VLAN 31,租户 B 进入 VLAN 32。他们共享同一个 SSID,但在网络层完全隔离。当租户搬离时,在 Purple 的管理控制台中撤销其凭据即可。访问权限将立即终止。无需重新配置 AP。

如需深入了解企业 WiFi 安全架构,请参阅 企业 WiFi 安全:2026 年完整指南

最佳实践

务必配置 RADIUS 计费。 为访客和员工 SSID 启用端口 1813 上的计费。计费数据会向 Purple 的分析仪表板提供会话时长和访问频率,并提供 GDPR 所要求的审计轨迹。如果没有计费,您只有认证记录,而没有会话记录。

复制并粘贴共享密钥。 RADIUS 共享密钥不匹配会导致接入点(AP)静默丢弃数据包。AP 会显示超时,而不是认证失败。这是新部署中最常见的错误配置。请直接从 Purple 管理控制台复制该密钥。

使用 Purple 的 围墙花园生成器。 现代门户页面会从多个 CDN 域名、社交登录 SDK 和分析脚本加载资源。手动构建围墙花园是不可靠的。support.purple.ai 上的生成器会根据您的认证方式考虑所有必需的域名。

在接入点隔离访客流量。 客户端隔离是任何访客 SSID 不可逾越的基线。它可以防止访客设备之间的横向移动,并且是对于在同一网络基础设施上处理刷卡支付的场所的 PCI DSS 要求。

在部署带 RADIUS 的 PPSK 之前验证固件。 带有 RADIUS 后端的 PPSK 需要 GWN 固件 1.0.19 或更高版本。运行过时的固件是 PPSK 部署中出现异常行为最常见的原因。请在部署前检查固件版本,而不是在部署后。

对于 零售业 部署,请确保您的访客 SSID VLAN 与任何支付网络网段之间设有防火墙。对于 医疗保健 环境,请确保患者或访客 WiFi 与临床系统隔离。对于 交通运输 枢纽,请考虑与平均停留时间相匹配的会话过期策略。

故障排除与风险规避

症状:展示页面(Splash Page)加载失败,返回“无法访问此网站”错误。 围墙花园阻止了 portal 页面资源。连接测试设备,打开浏览器开发者工具,检查网络(Network)标签页,并识别被阻止的请求。添加将失败的域名添加到 captive portal 策略中的预认证规则中。

症状:访客已认证,但接入点超时并拒绝互联网访问。 要么是防火墙阻止了从 AP 的管理 VLAN 到 Purple 的 RADIUS IP 范围的 UDP 1812 出站流量,要么是共享密钥不匹配。请先检查防火墙规则。然后验证双方的共享密钥是否完全一致。

症状:员工设备进入了默认 VLAN,而不是分配给他们的 VLAN。 SSID 设置中的“启用动态 VLAN”复选框未勾选。这是一个单独的复选框,很容易被忽略。第二个原因则是共享密钥不匹配,导致 AP 静默忽略了 RADIUS 响应。

症状:iOS 设备未显示 captive portal 微型浏览器。 captive.apple.com 域名位于围墙花园中。iOS 在连接时会探测该域名。如果收到 200 响应,它会认为互联网连接可用,从而不会触发 CNA。请将其从围墙花园中移除,以恢复自动 CNA 行为。

症状:PPSK 租户进入了错误的 VLAN。 请验证 GWN 固件版本是否为 1.0.19 或更高。确认已启用 PPSK RADIUS 后端且共享密钥匹配。检查 Purple 的 PSK RADIUS 用户配置文件是否返回了正确的 Tunnel-Private-Group-ID 属性。

ROI 与业务影响

将 Grandstream GWN 硬件与 Purple 集成,可将 WiFi 从沉没成本转化为可衡量的业务资产。通过用经过身份验证的 captive portals 取代通用的开放式网络,场所可以收集第一方数据并推动忠诚度计划的增长。Purple 已在其网络中收集了 290 亿个数据点(Purple 内部数据),为运营商提供了衡量自身业绩的基准。

酒店 环境中,Purple 的分析功能可以直观地展示访客的到访频率、停留时间和选择加入率。使用 Purple 的 Engage 计划的酒店运营商可以对回头客进行细分,以开展针对性的营销活动,从而推动直接预订并减少对 OTA 的依赖。在 零售 环境中,基于 WiFi 数据的客流量分析使门店经理能够将客流模式与销售业绩进行关联。

通过自动执行网络准入控制,802.1X 和 PPSK 的实施降低了 IT 服务台的开销。消除共享密码免去了密码轮换的运营成本,并降低了凭据共享的安全风险。对于多租户运营商而言,结合 Purple 集中式管理的 PPSK 意味着入驻新租户只需几分钟,而不是几小时。

Purple 拥有 99.999% 的在线率(Purple 内部数据),并获得了 ISO 27001、GDPR、CCPA 和 Cyber Essentials 认证,这意味着该平台能够满足最苛刻的企业和公共部门运营商的合规性要求。要全面了解访客 WiFi 分析功能,请参阅 WiFi 分析

关键定义

Captive portal

A web page that intercepts unauthenticated HTTP traffic from a connected device, forcing the user to interact or authenticate before granting internet access. The Grandstream captive portal uses HTTP 302 redirection to send users to an external portal URL.

The primary mechanism for guest data capture, terms of service acceptance, and access control in public venues.

RADIUS

Remote Authentication Dial-In User Service; a networking protocol operating over UDP that provides centralised Authentication, Authorization, and Accounting (AAA) management. Authentication runs on port 1812, accounting on port 1813.

The backend engine that validates credentials for both captive portals and 802.1X enterprise networks. Purple operates RADIUS servers that GWN access points communicate with directly.

Walled garden

A predefined list of IP addresses and domains that a device can access before completing the captive portal authentication process. Configured as Pre-Authentication Rules in GWN Manager.

Essential for allowing devices to load the portal page assets, CDN resources, social login endpoints, and OS captive portal detection probes.

IEEE 802.1X

An IEEE standard for port-based network access control that provides an authentication mechanism for devices connecting to a LAN or WLAN. Uses EAP to exchange credentials between the device (supplicant) and the RADIUS server (authentication server) via the access point (authenticator).

Replaces shared passwords with per-user credentials for secure staff and corporate WiFi access. Required for GDPR and PCI DSS compliant staff networks.

PPSK

Private Pre-Shared Key; a feature that allows a single SSID to support multiple unique passwords, each tied to specific network policies or VLANs. Grandstream GWN supports PPSK with local storage or RADIUS backend validation.

Used in multi-tenant environments like apartments, coworking spaces, and serviced offices to isolate users without broadcasting multiple SSIDs.

Dynamic VLAN assignment

The process where a RADIUS server returns three specific attributes in the Access-Accept packet (Tunnel-Type, Tunnel-Medium-Type, Tunnel-Private-Group-ID) to steer an authenticated device to a designated VLAN. Must be explicitly enabled in GWN SSID settings.

Allows IT teams to consolidate SSIDs while maintaining strict network segmentation for different user groups, departments, or tenants.

Client isolation

A wireless security feature that prevents devices connected to the same access point from communicating directly with each other at Layer 2.

A mandatory configuration for guest networks to protect users from peer-to-peer attacks and meet PCI DSS requirements for venues processing card payments.

EAP-PEAP

Protected Extensible Authentication Protocol; an 802.1X EAP method that encapsulates the authentication exchange within an encrypted TLS tunnel using a username and password. The outer TLS tunnel protects the inner credentials from interception.

Commonly used for BYOD staff networks where deploying client certificates (EAP-TLS) is not operationally feasible. Requires staff training on certificate validation to prevent rogue AP attacks.

Failsafe mode

A GWN captive portal setting that grants internet access to connecting devices if the access point cannot reach the configured RADIUS server. Prevents a RADIUS outage from blocking all guest access.

Recommended for hospitality and retail deployments where guest connectivity is business-critical and a brief RADIUS interruption should not result in a complete service outage.

GWN Manager

Grandstream's on-premise, enterprise-grade management platform for GWN series access points. Installed on a local Linux or Windows server, it provides full captive portal, SSID, RADIUS, and PPSK configuration.

Preferred for single-site deployments and organisations with data sovereignty requirements. GDMS Networking is the cloud-hosted equivalent for multi-site MSP deployments.

应用实例

A 120-room hotel needs to deploy a branded guest portal for guests, a secure staff network with department-level VLAN segmentation for housekeeping and front desk, and a separate management VLAN for the property management system. The hotel runs Grandstream GWN7660 access points managed through GDMS Networking.

Configure three SSIDs in GDMS Networking. First, create 'Guest WiFi' assigned to VLAN 10. Create a captive portal policy with Authentication Type set to RADIUS Server, pointing to Purple's RADIUS IP on port 1812 with the shared secret from the Purple admin console. Set the Landing Page to Redirect to External Page with the Purple portal URL. Enable Failsafe Mode and Client Isolation. Second, create 'Staff WiFi' with WPA2-Enterprise (802.1X) security. Configure RADIUS on port 1812 and Accounting on port 1813. Enable Dynamic VLAN. In Purple's directory, configure housekeeping accounts to return Tunnel-Private-Group-ID = 21 and front desk accounts to return VLAN 20. Third, create a hidden 'Management' SSID on VLAN 30 with WPA2-Personal for PMS terminals. Build the walled garden using Purple's generator tool, excluding captive.apple.com to trigger the iOS CNA.

考官评语: This architecture effectively segments three distinct user groups while minimising SSID overhead. Using dynamic VLAN steering for staff eliminates the need to broadcast separate SSIDs for each department, reducing RF interference and simplifying the wireless environment. Purple's analytics dashboard provides the hotel operator with daily guest counts, session durations, and marketing opt-in rates, giving the marketing team actionable data without any additional infrastructure.

A 40-unit build-to-rent apartment block requires isolated network access for each tenant, with the ability to instantly revoke access when a tenant moves out. The operator runs GWN7630 access points with GWN Manager on-premise and wants to minimise the number of visible SSIDs in the building.

Deploy a single SSID named 'BuildingConnect' with WPA2-Personal security and enable PPSK with RADIUS backend. Ensure GWN firmware is at version 1.0.19 or higher. Configure the RADIUS server settings in the PPSK section to point to Purple. In Purple's admin console, create 40 unique PSK credentials, each mapped to a VLAN (e.g., VLAN 101 for Unit 101, VLAN 102 for Unit 102). When a resident connects using their unit's password, the GWN AP sends the PSK to Purple, which validates it and returns Tunnel-Private-Group-ID = 101. The resident lands on their isolated VLAN. When a resident moves out, revoke the credential in Purple's admin console. Access terminates immediately without any AP reconfiguration.

考官评语: PPSK with a RADIUS backend is the optimal solution for multi-tenant environments. It provides the simplicity of a standard WiFi password for residents while delivering enterprise-grade isolation. Centralised credential management in Purple means the operator can scale to hundreds of units without managing individual SSID configurations. The instant revocation capability is a significant operational advantage over traditional PSK deployments, where changing a shared password would disrupt all connected residents.

练习题

Q1. You have configured the captive portal policy in GWN Manager with the correct Purple RADIUS IP and shared secret, but guests are reporting a 'site cannot be reached' error when their browser opens after connecting to the SSID. What is the most likely cause and how do you diagnose it?

提示:Consider what controls which domains a device can access before it has authenticated through the portal.

查看标准答案

The walled garden (Pre-Authentication Rules) is incomplete or misconfigured. The access point is blocking the device from reaching the Purple portal domain or the CDN assets the portal page loads. To diagnose: connect a test device to the guest SSID, open browser developer tools, navigate to the network tab, and attempt to load the portal URL. Identify which requests return connection errors. Add those domains to the Pre-Authentication Rules. Use Purple's walled garden generator at support.purple.ai to generate the complete domain list for Grandstream hardware.

Q2. Your hotel wants iOS guests to automatically see the captive portal mini-browser as soon as they connect to the guest WiFi, without needing to open a browser manually. How do you configure the walled garden to achieve this?

提示:Consider how iOS determines whether a network has internet access when it first connects.

查看标准答案

You must exclude captive.apple.com from the walled garden. When an iOS device connects to a network, it probes captive.apple.com. If the probe receives a 200 OK response (meaning the domain is accessible), iOS assumes the network has internet access and does not trigger the Captive Network Assistant mini-browser. If the probe is blocked or redirected, iOS recognises the network as captive and automatically opens the CNA. By keeping captive.apple.com out of the walled garden, the probe is intercepted and redirected, triggering the CNA automatically.

Q3. A staff member connects to the 802.1X SSID using their credentials. Purple's authentication logs show a successful Access-Accept response with the correct VLAN 20 attributes. However, the staff member is placed on VLAN 1 (the default). What GWN Manager setting needs to be checked?

提示:The RADIUS server is correctly authorising the user and returning the VLAN attributes. The issue is on the access point side.

查看标准答案

The 'Enable Dynamic VLAN' checkbox in the SSID settings within GWN Manager is not ticked. Even when Purple returns the correct Tunnel-Type, Tunnel-Medium-Type, and Tunnel-Private-Group-ID attributes in the Access-Accept packet, the GWN access point will ignore them unless Dynamic VLAN is explicitly enabled. Navigate to the SSID configuration, locate the Dynamic VLAN setting, enable it, and save. The staff member should then be placed on the correct VLAN on their next connection.

Q4. A build-to-rent operator wants to deploy PPSK with Purple as the RADIUS backend on their Grandstream GWN7630 access points running firmware 1.0.17. A tenant reports they can connect to the SSID but are placed on the wrong VLAN. What should you check first?

提示:There are two potential causes here: one is a firmware version issue, the other is a configuration issue.

查看标准答案

The first thing to check is the firmware version. PPSK with RADIUS backend requires GWN firmware 1.0.19 or higher on the GWN76xx series. Firmware 1.0.17 may not correctly support the RADIUS-backed PPSK VLAN assignment. Upgrade the firmware to 1.0.19 or higher before further troubleshooting. If the firmware is correct, verify that the PPSK RADIUS backend is enabled in the SSID settings, the shared secret matches Purple's configuration, and that Purple's RADIUS user profile for the specific PSK is returning the correct Tunnel-Private-Group-ID attribute.