How to Configure a Ruijie Captive Portal for Guest WiFi
This technical guide details the configuration of guest WiFi and captive portals on Ruijie Networks hardware, covering both native cloud portals and external RADIUS integrations. It provides IT managers and network architects with actionable steps for VLAN isolation, walled garden setup, and third-party platform integration to drive analytics and revenue.
Listen to this guide
View podcast transcript
- Executive Summary
- Technical Deep-Dive
- Captive Portal Deployment Models
- Network Isolation: NAT versus VLAN
- Walled Garden Configuration
- Implementation Guide
- Step 1: Configure the Guest SSID and VLAN
- Step 2: Configure the External Captive Portal Policy
- Step 3: Define the Walled Garden
- Step 4: Apply Bandwidth Management
- Best Practices
- Troubleshooting & Risk Mitigation
- iOS Devices Fail to Show the Portal
- Authentication Fails After Submitting Details
- Guests Bypass Bandwidth Limits
- ROI & Business Impact
- Audio Briefing

Executive Summary
Configuring guest WiFi and captive portals on Ruijie Networks hardware requires a clear understanding of the platform's architecture, specifically the choice between native cloud portals and external RADIUS integrations. This technical reference guide provides IT managers, network architects, and venue operations directors with the definitive steps to deploy secure, isolated, and scalable guest networks using Ruijie RG-WS controllers and Reyee EG gateways. We cover the transition from basic NAT forwarding to robust VLAN isolation, the configuration of external captive portals via WISPr, and the integration of third-party platforms like Purple to capture first-party data and drive revenue. Whether you are managing a single hotel or a multi-site retail estate, this guide delivers the practical, vendor-neutral configuration steps required to build a compliant and high-performing wireless network.
Technical Deep-Dive
Ruijie Networks provides a robust, enterprise-grade wireless architecture that supports multiple deployment models for guest access. The core decision for any network architect is selecting the appropriate authentication flow and isolation strategy.
Captive Portal Deployment Models
Ruijie supports three distinct captive portal deployment models, each suited to different operational requirements:
- Native Cloud Portal (Ruijie JaCS): The built-in Ruijie Cloud platform, specifically the JaCS interface for hospitality, provides a drag-and-drop portal builder. This model is configured under Device Config, where the SSID authentication is set to Captive Portal. It supports basic login options including one-click access and voucher codes. This is suitable for single-site venues that do not require deep analytics or external CRM integration.
- External Captive Portal (WISPr/RADIUS): For enterprise deployments, multi-site retail, and large public venues, the external portal model is mandatory. This approach uses the WISPr protocol to redirect guest traffic to a third-party platform like Purple. Authentication is handled via an external RADIUS server group using PAP encryption. This model enables advanced data capture, GDPR compliance management, and seamless integration with existing marketing stacks.
- Standalone AP Portal: Ruijie Reyee access points running ReyeeOS 1.219 or later support a localised captive portal without requiring an EG gateway. This is a fallback option for temporary deployments but lacks the robust QoS and isolation features of a controller-based architecture.

Network Isolation: NAT versus VLAN
The most critical architectural decision is how to isolate guest traffic from the corporate network. Ruijie offers two forwarding modes for guest SSIDs:
- NAT Mode: The gateway assigns IP addresses from a dedicated pool (defaulting to 192.168.23.0/24) and performs Network Address Translation before routing traffic to the internet. While simple to deploy, this method provides limited visibility and control over guest traffic at Layer 3.
- VLAN Mode: The recommended enterprise standard. The guest SSID is mapped to a dedicated VLAN (e.g., VLAN 100). The Reyee EG gateway or RG-WS controller uses Access Control Lists (ACLs) to enforce strict isolation. An extended ACL must be configured to deny IP traffic from the guest subnet to the corporate subnet, while permitting outbound internet access. This approach aligns with What Is Secure WiFi: Essential Guide for Business 2026 principles.

Walled Garden Configuration
Before a guest completes the captive portal authentication, their device operates in a restricted state. A walled garden, or allowlist, must be configured to permit access to essential services. If you use an external platform, you must add the platform's domain, IP addresses, and the authentication endpoints for any social login providers (such as Facebook or Google). Crucially, you must include captive.apple.com to ensure iOS devices correctly trigger the captive portal mini-browser.

Implementation Guide
Deploying an external captive portal on Ruijie hardware requires precise configuration across the SSID, authentication policies, and network isolation layers. Follow these steps to integrate Ruijie with an external platform like Purple for advanced Guest WiFi analytics.
Step 1: Configure the Guest SSID and VLAN
- Navigate to Wireless Settings and create a new SSID named appropriately for your venue.
- Set the Security Mode to Open. The captive portal will serve as the authentication mechanism.
- Assign the SSID to your designated guest VLAN. Ensure the corresponding VLAN interface is configured on your EG gateway with a DHCP scope.
Step 2: Configure the External Captive Portal Policy
- Navigate to the Auth & Account section.
- Select Captive Portal under the Authentication menu.
- Create a new policy and set the Policy Mode to External.
- Select the Guest SSID you created in Step 1.
- Input the Portal Server URL provided by your external platform (e.g., Purple's portal endpoint).
- Configure the RADIUS server group using the IP addresses, ports (typically 1812 for authentication and 1813 for accounting), and shared secrets provided by your platform.
Step 3: Define the Walled Garden
- Navigate to Auth & Account, then Allowlist.
- Add the required domains and IP addresses. For a Purple integration, this includes Purple's domains, Apple's captive portal detection URL (
captive.apple.com), and any required social media authentication endpoints.
Step 4: Apply Bandwidth Management
- Navigate to the QoS settings on your EG gateway.
- Apply per-user download and upload limits to the guest VLAN. A standard allocation is 2Mbps to 5Mbps per user, depending on your backhaul capacity. This is critical for effective Bandwidth Management .
- If your external platform handles QoS, ensure 'Client Escape' is disabled on the Ruijie gateway to prevent users bypassing the portal's restrictions.
Best Practices
When deploying Ruijie captive portals, adherence to industry standards and vendor-neutral best practices ensures a reliable and secure guest experience.
- Enforce Layer 3 Isolation: Always use VLAN mode with strict ACLs to separate guest traffic from corporate assets. Relying on NAT mode alone exposes the network to unnecessary risk. Read Why Consumer WiFi Gear Doesn't Belong on Your Guest Network for more context.
- Optimise the Walled Garden: A misconfigured walled garden is the primary cause of captive portal failures on mobile devices. Regularly audit your allowlist to ensure all required domains, particularly those for social login providers, are accessible pre-authentication.
- Implement Robust QoS: Unmanaged guest networks quickly degrade. Apply per-user bandwidth limits at the gateway or via the external portal platform to ensure fair access for all users.
- Test Across Platforms: Always test the captive portal flow on both iOS and Android devices before moving to production. The operating systems handle captive portal detection differently, and testing ensures a consistent experience.
Troubleshooting & Risk Mitigation
Even with a solid configuration, issues can arise. Here are common failure modes and how to address them.
iOS Devices Fail to Show the Portal
- Cause: The Apple captive portal detection endpoint is blocked.
- Resolution: Verify that
captive.apple.comis explicitly added to the Ruijie allowlist under Auth & Account. Without this, iOS devices cannot trigger the mini-browser.
Authentication Fails After Submitting Details
- Cause: RADIUS communication failure between the Ruijie gateway and the external platform.
- Resolution: Check the RADIUS shared secret for typos. Ensure the EG gateway has outbound internet access on UDP ports 1812 and 1813. Verify that the gateway's public IP address is correctly registered with the external platform.
Guests Bypass Bandwidth Limits
- Cause: 'Client Escape' is enabled, or QoS policies are misconfigured.
- Resolution: Disable 'Client Escape' on the Ruijie gateway if relying on an external platform for QoS. Ensure the QoS policy is applied to the correct VLAN or user group.
ROI & Business Impact
Transitioning from a basic open network to a managed captive portal integrated with a platform like Purple transforms guest WiFi from a cost centre into a revenue-generating asset.
By capturing first-party data through the portal, venues can build rich customer profiles, track visit frequency, and deliver targeted marketing campaigns. This is particularly valuable in Retail and Hospitality environments, where understanding customer behaviour directly impacts the bottom line. Furthermore, the WiFi Analytics provided by the platform enable operations teams to optimise staffing, improve venue layouts, and measure the success of marketing initiatives. The return on investment is realised through increased customer loyalty, higher spend per visit, and the ability to monetise the network through sponsorships or premium access tiers.
Audio Briefing
Listen to the full technical briefing on configuring Ruijie captive portals:
Key Definitions
WISPr
Wireless Internet Service Provider roaming. A protocol that facilitates the redirect and authentication handshake between a wireless gateway and an external captive portal.
Required when integrating Ruijie hardware with third-party analytics platforms like Purple.
RADIUS
Remote Authentication Dial-In User Service. A networking protocol that provides centralised Authentication, Authorization, and Accounting (AAA) management.
Used by Ruijie gateways to authenticate guest sessions against an external platform's database.
VLAN Isolation
The practice of assigning guest traffic to a separate Virtual Local Area Network and using Access Control Lists (ACLs) to block communication with corporate networks.
The mandatory security standard for enterprise guest WiFi deployments.
Walled Garden
A restricted network environment that allows access to specific, approved domains or IP addresses before a user fully authenticates.
Essential for allowing devices to reach the captive portal page and any necessary social login providers.
Client Escape
A feature on Ruijie gateways that, if enabled, allows clients to bypass portal restrictions under certain conditions.
Must be disabled when relying on an external platform for QoS and bandwidth management.
JaCS
Ruijie's native, hospitality-focused cloud management system that includes a built-in captive portal builder.
Used for the Native Cloud Portal deployment model when external integration is not required.
Captive Portal
A web page that a user of a public-access network is obliged to view and interact with before access is granted.
The primary mechanism for guest onboarding, terms acceptance, and data capture.
Access Control List (ACL)
A set of rules applied to a network interface that explicitly permits or denies traffic based on IP addresses or protocols.
Used in conjunction with VLANs to enforce strict isolation between guest and corporate networks.
Worked Examples
A 200-room hotel needs to deploy guest WiFi across its property using Ruijie Reyee EG gateways and RAP access points. They require seamless onboarding, bandwidth limits of 5Mbps per user, and integration with their existing CRM system to capture guest email addresses for post-stay marketing. They also need to ensure that guest devices cannot access the hotel's back-office network. How should the network architect configure the Ruijie hardware?
- Configure the guest SSID with 'Open' security and assign it to a dedicated VLAN (e.g., VLAN 100). 2. On the EG gateway, configure an extended ACL to deny traffic from VLAN 100 to the corporate VLAN (e.g., VLAN 10), while permitting outbound internet access. 3. Navigate to Auth & Account and configure an External Captive Portal policy using the WISPr protocol. 4. Point the Portal Server URL to the CRM-integrated platform (e.g., Purple) and configure the RADIUS server group with the provided credentials. 5. Add the required domains to the allowlist, including the portal domain, social login endpoints, and
captive.apple.com. 6. Apply a QoS policy on the EG gateway limiting per-user bandwidth on VLAN 100 to 5Mbps.
A large conference centre is hosting a three-day technology summit. They are using Ruijie RG-WS controllers and require a captive portal that authenticates attendees using a specific event code. They do not require long-term data capture or external CRM integration, but they do need to ensure that the portal loads reliably on all attendee devices. What is the most efficient deployment model?
- Utilise the Native Cloud Portal (Ruijie JaCS) deployment model. 2. In Ruijie Cloud, navigate to Device Config and configure the guest SSID for Captive Portal authentication. 3. Use the JaCS portal builder to design a branded splash page. 4. Select the 'Voucher' or 'Access Code' login option and generate the specific event code for the summit. 5. Ensure the walled garden is configured to allow
captive.apple.comto guarantee the portal triggers on iOS devices. 6. Synchronise the configuration to the RG-WS controller.
Practice Questions
Q1. A retail chain with 50 locations needs to deploy guest WiFi using Ruijie Reyee EG gateways. They require the ability to capture customer emails and sync them to their central CRM. Which portal deployment model must they choose?
Hint: Consider the requirement for external system integration and data capture.
View model answer
They must choose the External Captive Portal (WISPr/RADIUS) model. The Native Cloud Portal (JaCS) does not support advanced external CRM integration or centralised data capture across a large multi-site estate.
Q2. After deploying an external captive portal on a Ruijie network, Android devices successfully display the login page, but iOS devices show a blank screen or fail to trigger the portal. What is the most likely cause?
Hint: Review the requirements for the pre-authentication restricted network state.
View model answer
The walled garden (allowlist) is misconfigured. Specifically, captive.apple.com has likely been omitted. iOS devices require access to this endpoint to detect the captive portal and launch the mini-browser.
Q3. A network administrator has configured a guest SSID on a Ruijie gateway using NAT mode. Why is this approach not recommended for an enterprise deployment, and what should be used instead?
Hint: Consider the level of control and isolation required for guest traffic.
View model answer
NAT mode provides limited visibility and control over guest traffic at Layer 3, making it difficult to enforce strict security policies. The recommended approach is VLAN mode, where the guest SSID is assigned to a dedicated VLAN and Access Control Lists (ACLs) are used to explicitly deny traffic to the corporate network.
Continue reading in this series
Integrating WeChat Authentication with Guest WiFi Captive Portals
This guide explains how to integrate WeChat OAuth 2.0 authentication into enterprise guest WiFi captive portals. It covers the dual-platform registration requirements, scope selection for first-party data capture, network enforcement via RADIUS Change of Authorization, and compliance with GDPR and China's PIPL. Venue operators in hospitality, retail, and events will find concrete implementation steps, real-world case studies, and security hardening guidance to deploy WeChat login guest wifi at scale.
Integrating WeChat Authentication with Guest WiFi Captive Portals
This guide explains how to integrate WeChat OAuth 2.0 authentication into enterprise guest WiFi captive portals. It covers the dual-platform registration requirements, scope selection for first-party data capture, network enforcement via RADIUS Change of Authorisation, and compliance with GDPR and China's PIPL. Venue operators in hospitality, retail, and events will find concrete implementation steps, real-world case studies, and security hardening guidance to deploy WeChat login guest wifi at scale.
Understanding Cisco SUDI: Hardware-Based Device Identity in Network Access Control
This guide details the technical architecture of Cisco SUDI, explaining how hardware-anchored identity secures network access control. It provides actionable implementation steps for IT leaders to deploy 802.1X EAP-TLS authentication and automate Zero Touch Provisioning across enterprise venues.