Wireless Access

Reply
Occasional Contributor II
Posts: 36
Registered: ‎07-16-2013

URL redirection

Hi, 

Is it possible to perform URL redirection at connection to SSID?
I need to redirect clients to a website when they connecting to SSID, and after that I need to give full access to the network for them.

Frequent Contributor I
Posts: 70
Registered: ‎01-03-2013

Re: URL redirection

Yes, we can do this when using captive portal for guest access.

After user gets authenticated, system will redirect to a certain page of your liking entry of which should be added in the CP profile.

Occasional Contributor II
Posts: 36
Registered: ‎07-16-2013

Re: URL redirection

Can I do this without captive portal splash page?
I need just redirection to website, while client is starting using my network. After redirection client should have access to any website.

Aruba
Posts: 1,377
Registered: ‎12-12-2011

Re: URL redirection

You should be able to do this with a custom html.  Basically, the workflow goes like this

 

1. Connect to SSID and get placed in the initial role.  That role has a captive portal profile pointing to the external webpage

2. On that webpage, there is some action that sends an accept message back to the controller

3. The controller then accepts this and places the user into the role specified in the captive portal profile or any role if the Aruba VSA role is sent back

 

I know there are some examples out there of a terms only login page...do you have ClearPass?  If so, we can accomplish this using that as well.

Seth R. Fiermonti
Consulting Systems Engineer - ACCX, ACDX, ACMX
Email: seth@hpe.com
-----
If you found my post helpful, please give kudos
MVP
Posts: 1,409
Registered: ‎05-28-2008

Re: URL redirection

[ Edited ]

Hi

You can do it working quite well - do some reading - and download html script to understand how to add a script to your login page - in your case your redirection page.

 

Start Here:

http://www.arubanetworks.com/techdocs/ArubaOS_60/UserGuide/Captive_Portal.php

Then Go there here:

http://community.arubanetworks.com/t5/Command-of-the-Day/COTD-How-to-customize-the-Captive-Portal/td...

 

 

Here is a full HTML ready script for one time button (read all the post - and than download the needed files)

http://community.arubanetworks.com/t5/ArubaOS-and-Mobility-Controllers/Captive-Portal-Login-page-quo...

 

 More reading info - and examples:

http://community.arubanetworks.com/t5/ArubaOS-and-Mobility-Controllers/HTTP-Script/td-p/13483

 http://community.arubanetworks.com/aruba/attachments/aruba/arubaos-and-mobility-controllers/7800/1/cp_lang_custom_v11.pdf

http://community.arubanetworks.com/aruba/attachments/aruba/arubaos-and-mobility-controllers/7800/2/customize-captive-portal.pdf

http://community.arubanetworks.com/aruba/attachments/aruba/arubaos-and-mobility-controllers/7800/3/aos_guestacccess-appnote.pdf

 

implement those scripts and make them auto run when someone logged into your redirect site - with the right script it will create a guest account auto for u.

 

lets us know if u understood and accomplish your need.

 

Me.

 

*****************2Plus Wireless Solutions****************************
Aruba Airheads - Powered By community for empower the community
************ Don't Forget to Kudos + me,If i helped you******************
MVP
Posts: 1,409
Registered: ‎05-28-2008

Re: URL redirection

I thought a bit and its quite easy-:robotindifferent:

just build an HTML page - with a huge welcome - and the login script as guest in the background  {this will be your transpernt auto guest login page}- with the right script u can set that in 1 sec it will send the auth-guest to the controller - and then the controller will send the guest to your welcome page (redirection page) and the guest will have needed role to start browsing to where he wants!

 

me

*****************2Plus Wireless Solutions****************************
Aruba Airheads - Powered By community for empower the community
************ Don't Forget to Kudos + me,If i helped you******************
Guru Elite
Posts: 21,294
Registered: ‎03-29-2007

Re: URL redirection


yb@secnet.ua wrote:

Can I do this without captive portal splash page?
I need just redirection to website, while client is starting using my network. After redirection client should have access to any website.


You need a Captive Portal Splash page to do this, because it has to log a user in with Javascript and that is what (1) redirects the user to the  "welcome" page in your Captive Portal authentication profile and (2) changes his role to something that is open.  Here is what happens:

 

1.  Create a username and password in the controller's internal database for anonymous users

2.  Create a Captive Portal with custom HTML where the Welcome Page parameter has the page you want users to be redirected to

3.  User associates to SSID in "logon" role that redirects user to custom HTML, which logs user in, in the background

4.  The Captive Portal authentication profile Welcome parameter will redirect user to desired URL and the javascript authenticates users to force him into an "open" role so that the user can start browsing.

 

My co-worker forwarded  an HTML example where the username and password is "test" and "user123":

 

<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="user123">
<input type="submit" name="inputme" value="Submit" style="visibility:hidden">
</form>
<script>
 window.onload = function()
{
document.loadportal.submit();
};
</script>
</html>

 

 

 

 

 



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Search Airheads
Showing results for 
Search instead for 
Did you mean: