How to create custom "blocked!" web page for WebCC content filtering by utilizing clearpas?

Aruba Employee
Aruba Employee
Requirement:
  • Controller integrated with clearpass
  • Controller broadcasting guest SSID

 



Solution:

Using existing guest SSID, we can create custom "blocked!" web page for WebCC content filtering by utilizing clearpass. 

Note: This functionality is now provided as a default page within ClearPass.



Configuration:

ClearPass Configuration

  • ClearPass Guest
  • Configuration -> Pages -> Web Pages
  • Create a new web page
  • Fill out fields and paste the below html content into the HTML: box

 

<body>
 <h3>Oops: <b>Access Blocked</b></h3>
 <br>
 <p><b>The page you are looking for has been blocked. Please contact a network administrator.</b></p>
 <br>
 <p><b>URL:</b> <span id="content_url"></span></p>
 <p><b>Category:</b> <span id="content_category"></span></p>
 <p><b>Reputation:</b> <span id="content_reputation"></span></p>
 <p><b>Host:</b> <span id="content_user"></span></p>
 <br>
 <footer>
 <small>WebCC content filtering</small>
 </footer>
 <br>
 <script>
 var url = new URL(window.location.href);
 var content_user = url.searchParams.get("user");
 var content_url = url.searchParams.get("url");
 var content_category = url.searchParams.get("category");
 var content_reputation = url.searchParams.get("reputation");
 document.getElementById('content_url').innerHTML=content_url;
 document.getElementById('content_category').innerHTML=content_category;
 document.getElementById('content_reputation').innerHTML=content_reputation;
 document.getElementById('content_user').innerHTML=content_user;
 </script>
</body>

 

Controller Configuration

  1. Dashboard -> Traffic Analysis -> Web Content -> Block/Unblock
  2. New Rule -> Set Category etc... -> Ok.
  3. Configuration -> Stateful Firewall
  4. Locate Block Redirect URL and enter the URL for the page created ([https:// https://]<cppm-server>/guest/<page_name>.php)
  5. Apply -> Save Configuration

 



Verification

Below are the expected results from the above tutorial. Note that the page inherits skins, great for a consistency/branding:

Using the Galleria skin:

 

Using the standard ClearPass skin

 

Version history
Revision #:
1 of 1
Last update:
3 weeks ago
Updated by:
 
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: