Creating Custom Error Page for Web Access Blocked by AppRF Policies
You can create a list of URLs to which the users are redirected when they access blocked websites. You can
define an access rule to use these redirect URLs and assign the rule to a user role in the WLAN network.
You can create a list of custom URLs and ACL rules for blocked websites either through the Instant UI or the
CLI.
Creating a List of Error Page URLs
To create a list of error page URLs:
In the Instant UI
1. Navigate to
Security > Custom Blocked Page URL
.
2. Click
New
and enter the URL that you want to block.
3. Repeat the procedure to add more URLs. You can add up to 8 URLs to the blocked page list.
4. Click
OK
.
In the CLI
(Instant AP)(config)# dpi-error-page-url <idx> <url>
(Instant AP)(config)# exit
(Instant AP)# commit apply
Configuring ACL Rules to Redirect Blocked HTTP Websites to a Custom Error Page URL
To redirect blocked HTTP websites to a custom error page URL:
In the UI
1. Navigate to
Security > Roles
.
2. Select any WLAN SSID or Wired profile role, and click
New
in the Access Rules section.
3. In the
New Rule
window, select the rule type as
Blocked Page URL
.
4. Select the URLs from the existing list of custom redirect URLs. To add a new URL, click
New
.
5. Click
OK
.
6. Click
OK
in the
Roles
tab to save the changes.
In the CLI
To configure an ACL rule to redirect blocked HTTP websites to a custom error page URL:
(Instant AP)(config)# wlan access-rule <access_rule_name>
(Instant AP) (Access Rule "<access_rule_name>")# dpi-error-page-url <idx>
(Instant AP) (Access Rule "<access_rule_name>")# end
(Instant AP)# commit apply
Configuring ACL Rules to Redirect Blocked HTTPS Websites to a Custom Blocked Page URL
Before you configure an ACL rule for a specific WLAN SSID or Wired profile to redirect HTTPS websites to a
custom error page, you must ensure that the Blocked Page URL rule is configured for the HTTP websites
blocked for the same WLAN SSID or Wired profile. In this scenario, all the blocked HTTP and HTTPS websites
will be redirected to the custom error page URL.
To redirect blocked HTTPS websites to a custom error page URL
In the UI
1. Navigate to
Security > Roles
.
2. Select any WLAN SSID or Wired profile role, and click
New
in the Access Rules section.
Aruba Instant 6.5.0.0-4.3.0.0 | User Guide
Roles and Policies |
198