06-25-2015 06:54 AM - edited 06-25-2015 06:56 AM
I am using the internal captive portal provided by the iap (no controller here only virtual one) at the moment. I works ok but the lack of customization made me want to have an external one.
I noticed that the iap contact google ip through 18.104.22.168/19 or 22.214.171.124/16
exemple or reached page : 126.96.36.199/generate_204
Is it possible to configure the IAP so that it goes to the external http page directly.
I don't know where the problem comes from but I can only display html page with the captive portal, any php cause the page to be blank or even unreachable.
Is it at all possible to use php? Or do I have to use html and a radius server on the side? I wanted to use pfsense captive portal, but since I can't manage to display a single php page on an completely different host I wonder if it is even possible.
Is there anywhere in the doc an explicit answer to what the html page should return to the iap and how?
Thanks for the reading.
Solved! Go to Solution.
06-25-2015 07:01 AM
What kind of captive portal experience are you trying to provide? Is it a simple "Click to agree to terms and conditions and then get online" or something more complex such as register for a free username and password and then login with it?
06-25-2015 07:08 AM
I would like something pretty simple with therms and conditions with a voucher or login/password.
I don't mind putting up a radius server on the side for authentication.
What the pfsense captive portal offers would be great.
We don't use the guest portal very often, maybe 3-5 times a week. But it still bothers me to have a very minimalistic designed page.
07-01-2015 09:02 AM - edited 07-02-2015 12:11 AM
Thansk, It helps a little.
I manage to see the page but It still don't work after validation of the form.
I have this error at the http://securelogin.arubanetworks.com/cgi-bin/login url.
<html><pre>Error in invocation. Error string - Internal error 001, please contact support</pre></html>
I tried changing the url by the VIP of the iaps but it didn't work. I also added the master ip in the host to securelogin.arubanetworks.com
I also changed the hidden input values from the value in the url like that :
But with no success yet.
My bad... I didn't configure enough access rule for it to work, but the basic html page v8 in the thread http://community.arubanetworks.com/t5/Aruba-Instan
07-29-2015 04:58 PM
Do you mind posting your final code?
I am stuck at the same place. Same error.
Trying to just force acknowledgement before accessing Guest network.
<form method=POST action="http://<IAP VC IP ADDRESS>/cgi-bin/login">
<input name=cmd value="authenticate" type="hidden">
<input name=mac value="" type="hidden">
<input name=ip value="" type="hidden">
<input name=essid value="" type="hidden">
<input name=url value="http://www.arubanetworks.com" type="hidden">
<input type="submit" name="Login" value=" I Agree" class="button" />
07-29-2015 05:50 PM
18:64:72:c7:a2:e0# sh captive-portal
:Captive Portal Configuration
Banner Color :13369344
Decoded Texts :
Banner Text :Welcome to the Guest Network
Use Policy :Please read terms and conditions before using Guest Network
Internal Captive Portal Redirect URL:http://www.school.org/
Captive Portal Mode:Acknowledged
Custom Logo :
:External Captive Portal Configuration
External Captive Portal Redirect URL:
Server Fail Through:No
Auto White List :Disable
07-29-2015 05:54 PM
Your captive portal should look like this:
wlan external-captive-portal CPPM_GUEST-CP-PROFILE
Follow the steps in this video:
Lead Mobility Engineer @ Integration Partners
AMFX | ACMX | ACDX | ACCX | CWAP | CWDP | CWNA
07-29-2015 06:19 PM - edited 07-29-2015 06:20 PM
wlan ssid-profile Guest
wlan external-captive-portal "Captive Portal"
auth-text "Welcome to the Guest Network"
captive-portal external profile "Captive Portal"