跳至主要內容

Grandstream GWN 基地台與 Purple WiFi 整合

本權威技術參考指南詳細說明如何將 Grandstream GWN 基地台與 Purple 的 Guest 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 的 Guest WiFiWiFi Analytics 平台進行整合。

透過從基本的預共用金鑰(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 伺服器上的地端(On-premise)控制器,適用於單一場域部署以及對資料主權有要求的組織。GDMS Networking(前身為 GWN.Cloud)是 Grandstream 的雲端託管管理平台,深受需要透過單一介面管理多個場域的 MSP 喜愛。這兩個平台提供完全相同的 Captive Portal 與 SSID 設定選項。

對於員工和租戶網路,架構則轉向 IEEE 802.1X 和 PPSK。在 802.1X 部署中,基地台充當驗證器,在連線裝置與 Purple 的 RADIUS 伺服器之間代理可延伸驗證協定(EAP)訊息。Purple 會比對其目錄驗證憑證,並可傳回廠商專屬屬性(VSA)以將裝置動態導向至特定的 VLAN。這就是身分識別網路(Identity-Based Networking)的實際應用:單一 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 所需的設定:

欄位 備註
Policy Name Purple-Guest-Portal 使用具描述性的名稱
Authentication Type RADIUS Server 啟用 RADIUS 驗證流程
RADIUS Server Address [來自 Purple 管理主控台] 主要 RADIUS IP
RADIUS Server Port 1812 標準 RADIUS 驗證連接埠
RADIUS Server Secret [來自 Purple 管理主控台] 請完整複製並貼上
RADIUS Auth Method PAP Purple Captive Portal 所需
Landing Page Redirect to External Page 啟用外部 Portal 重新導向
Redirect URL [來自 Purple 管理主控台] 您的專屬 Portal URL
Expiration 24h (旅宿業) / 4h (零售業) 配合您的工作階段原則
Failsafe Mode Enabled 當 RADIUS 無法連線時授予存取權限

啟用 Failsafe Mode(容錯移轉模式)。如果 GWN 基地台無法連線至 Purple 的 RADIUS 伺服器,容錯移轉模式將授予網際網路存取權限,而不是封鎖所有訪客。對於旅宿業和零售業部署,短暫的 RADIUS 中斷應不應導致所有訪客失去連線。

步驟 2:設定 Walled Garden

Walled Garden 定義了裝置在進行驗證前可以存取的網域。未設定完整的 Walled Garden 是導致 Portal 載入失敗最常見的原因。在 GWN Manager 中,Walled Garden 是在 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 動態 Walled Garden 產生器。從硬體清單中選擇 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 Accounting(計費)。此計費資料可提供 GDPR 合規性和安全性事件回應所需的稽核軌跡。

至於 EAP 方法,請根據您的裝置管理能力進行選擇。EAP-TLS 使用雙向憑證驗證 — 這是最安全的選項,能完全消除憑證被盜的風險,但需要行動裝置管理 (MDM) 平台(如 Microsoft Intune 或 Jamf)將憑證推送到裝置。PEAP 則在加密的 TLS 通道內使用使用者名稱和密碼,對於 BYOD(攜帶自有裝置)環境較容易部署,但需要對員工進行憑證警告相關的培訓。

啟用 Dynamic VLAN(動態 VLAN)在 SSID 設定中。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 Accounting。 針對訪客和員工 SSID,啟用連接埠 1813 上的計費功能。計費資料會將工作階段持續時間和造訪頻率傳送至 Purple 的分析儀表板,並提供 GDPR 所要求的稽核軌跡。若沒有計費功能,您將只有驗證記錄,而沒有工作階段記錄。

複製並貼上共用金鑰。 RADIUS 共用金鑰不相符會導致無線基地台 (AP) 靜默捨棄封包。AP 會判定為逾時,而非驗證失敗。這是新部署中最常見的設定錯誤。請直接從 Purple 管理主控台複製金鑰。

使用 Purple 的 Walled Garden 產生器。 現代的 Portal 頁面會從多個 CDN 網域、社群登入 SDK 和分析指令碼載入資源。手動建立 Walled Garden 並不可靠。位於 support.purple.ai 的產生器會根據您的驗證方式,將所有必要的網域納入考量。

在無線基地台隔離訪客流量。 Client Isolation(用戶端隔離)是任何訪客 SSID 不可妥協的基準。它能防止訪客裝置之間的橫向移動,且對於在相同網路基礎架構上處理刷卡交易的場所而言,是 PCI DSS 的一項要求。

在部署搭配 RADIUS 的 PPSK 之前驗證韌體。 搭配 RADIUS 後端的 PPSK 需要 GWN 韌體 1.0.19 或更高版本。執行過時的韌體是 PPSK 部署中出現異常行為最常見的原因。請在部署前檢查韌體版本,而不是在部署後。

對於 零售業 部署,請確保您的訪客 SSID VLAN 與任何付款網路區段之間設有防火牆。對於 醫療保健 環境,請確保病患或訪客 WiFi 與臨床系統隔離。對於 交通運輸 樞紐,請考慮與平均停留時間相符的工作階段過期策略。

疑難排解與風險緩釋

症狀:Splash Page(歡迎頁面)無法載入,並傳回「無法連線至此網站」錯誤。 Walled Garden 正在封鎖 Portal 頁面資源。請連線測試裝置,開啟瀏覽器開發人員工具,檢查網路 (Network) 索引標籤,並找出被封鎖的要求。新增 將失敗的網域新增至 Captive Portal 策略中的預先驗證規則(Pre-Authentication Rules)。

症狀:訪客已通過驗證,但無線基地台(AP)逾時並拒絕網際網路存取。 可能是防火牆阻擋了從 AP 的管理 VLAN 到 Purple 的 RADIUS IP 範圍的外網 UDP 1812 流量,或者是共用金鑰(shared secret)不符。請先檢查防火牆規則。然後確認雙方的共用金鑰完全一致。

症狀:員工裝置進入預設 VLAN,而非其獲分配的 VLAN。 SSID 設定中的「啟用動態 VLAN」(Enable Dynamic VLAN)核取方塊未勾選。這是一個單一的核取方塊,很容易被忽略。第二個原因可能是共用金鑰不符,導致 AP 靜默忽略 RADIUS 回應。

症狀:iOS 裝置未顯示 Captive Portal 迷你瀏覽器。 captive.apple.com 網域位於圍牆花園(walled garden)中。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 Portal 取代一般的開放式網路,場域能收集第一方數據並推動會員計畫成長。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 Analytics

關鍵定義

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.