I'd configured an external captive portal. It was working fine on version 184.108.40.206.
After upgrading to 220.127.116.11, Clients are able to get the external captive portal page but cannot get the default role.
I tried to get both link "http://<controller ip>/auth/index.html/u" and "http://<controller ip>/cgi-bin/login" but clients are still in initial role and stuck in the same external captive portal page.
On the external captive portal, I use this html code on the button to quit captive portal:
<form method="post" id="myForm" autocomplete="off" action="http://10.200.116.11/cgi-bin/login">
<div class="col-sm-6 col-lg-6">
<input type="submit" name="accept" id="accept" value="Get Started" class="btn btn-primary btn-lg btn-padding" />
aaa authentication captive-portal "thuypbt1_cppm_sg"
login-page "http://10.205.14.13/" (-->IP of external captive portal)
aaa server-group "thuypbt1_cppm_sg"
auth-server CPPM position 1
aaa profile "Test-lab"
access-list session global-sacl
access-list session apprf-thuypbt1-sacl
access-list session thuypbt1
access-list session captiveportal
ip access-list session thuypbt1
any any svc-dns permit
any any svc-dhcp permit
any host 10.200.0.5 any permit
any host 10.205.14.13 svc-http permit
any host 10.205.14.13 svc-https permit
any alias onboard-whitelist svc-https permit
any alias vng_lab_whitelist svc-https permit
any host 18.104.22.168 svc-https permit
How can I configure to get the default role?
This configuration was working fine on version 22.214.171.124.
Thanks a lot for your help
Take a look at the docs here:
Using the action /auth/index.html/u should be correct. You'll need to verify the html code to ensure that a username is being returned as part of the POST to toggle the authentication.
Thanks for this information.
Could you please help me to check my html code? I tried these codes but It isn't working
<form method="post" id="myForm" autocomplete="off" action="http://10.200.116.11/auth/index.html/u">
<div class="col-sm-6 col-lg-6">
<input type="hidden" name="user" value="guest">
<input type="hidden" name="password" value="guest">
<input type="submit" name="Accept" value="authenticate">
<FORM method="post" autocomplete="off" ACTION="http://10.200.116.11/auth/index.html/u">
<INPUT type="text" name="user" accesskey="u" SIZE="25" VALUE="">
<INPUT type="password" name="password" accesskey="p" SIZE="25" VALUE="">
Thank you so much.
I taked the wireshark capture on client.
Non-working captureWorking captureWhy did controller send a Temporarily moved to client?
@tigerbt wrote:I taked the wireshark capture on client.Non-working captureWorking captureWhy did controller send a Temporarily moved to client?
The temporaryily moved redirect is the initial captive portal insertion. The client device tried to access some website, and the controller intercepts that and does a 302 redirect to get the client device to the captive portal page.
I'd downgraded cluster to version 126.96.36.199 and everything is working fine now.
I opened a CASE but Aruba engineer haven't found out the reason.
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.