Creating a Portal Detection and Suppression Profile
To restrict an unauthorized user in a walled garden, a service operator must set defined policy rules by creating a portal detection and suppression profile.
- Select Services & Profiles > Hotspots & Portals.
- Click the Portal Detection and Suppression tab.
-
Select a zone and click
Create to add a portal detection and suppression profile.
The
Create a Portal Detection Profile page is displayed.
Figure 114 Creating Portal Detection Profile
- Under General Options, enter a policy list name and description.
-
Under
Portal Detection Patterns, click
Create to create a portal detection pattern.
The
Create a Portal Detection Pattern page is displayed.
Figure 115 Creating Portal Detection Pattern
- In the Name field, enter the name of the portal detection pattern.
-
In the
User Agent Pattern field, enter the user agent pattern.
NOTEThe user agent pattern must follow a regular expression format, starting and ending with .* (for example, .*Android-WiFi.*). The default Captive Portal Detection may not support all the Android devices and the new Microsoft phone if different user agent patterns are used. In this case, new rules must be created to cover such patterns. Using an improper user agent pattern may impact browser behaviors.
-
In the
HTTP Code field, enter the code.
NOTEThe HTTP code range must be from 100 through 599.
- In the HTTP Response Body field, enter the HTML string.
-
Click
OK.
NOTETo select a Portal Detection Pattern profile, Bypass CNA must be enabled in the WLAN configuration page. Use Bypass CNA to enable or disable Portal Detection Service for HotSpot, Web Authentication, and Guest Access WLAN.
Parent topic: Working with Hotspots and Portals