Controller Based WLANs

Redirecting users to a desired welcome page without any authentication on the Captive portal
Requirement:

How to redirect users to a desired welcome page without any kind of authentication on the Captive portal?

 



Solution:
<html>

//test.html

<head>

</head>
<form name="loadportal" FORM method="post" ACTION="/auth/index.html/u">
<INPUT type="hidden" name="user" accesskey="u" SIZE="25" VALUE="test">

<INPUT type="hidden" name="password" accesskey="p" SIZE="25" VALUE="test123">
<input type="submit" name="inputme" value="Submit" style="visibility:hidden"> 
</form>
<script>
 window.onload = function() 
{
document.loadportal.submit();
};
</script> 
</html>


Configuration:

Below are the steps and use the appended “test.html” for reference.

Step:1 

Create a Test captive portal profile and do the below changes:

Upload the “test.html” to the test captive portal profile on the controller.

!
aaa authentication captive-portal "Test"
default-role "authenticated"
redirect-pause 0
no logout-popup-window
logon-wait maximum-delay 4
login-page "/upload/custom/test.html"
welcome-page http://www.arubanetworks.com 
!

Step:2

Need to create a “Test” initial role:

!
user-role Test_initial
captive-portal "Test"
session-acl logon-control
session-acl captiveportal
!

Step:3 

Need to create a “Test” server-group with the authentication server as internal, add a username: test and password: test123 in the internal DB as in the script. 

Step: 4

Map the captive portal profile, server group and initial role to the “Test” aaa profile:

!
aaa profile "Test"
initial-role "Test_initial"
dot1x-server-group "Test"  ----------------Need to map it to the dot1x-server-group. 
!



Verification

Connect to the ssid, open up the browser and try typing any website address and you will be redirected to "www.arubanetworks.com" here as in the welcome page url.

Version history
Revision #:
2 of 2
Last update:
‎05-20-2015 04:36 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.