Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
Captive Portal redirect behavior
« previous
next »
Print
Pages: [
1
]
Author
Topic: Captive Portal redirect behavior (Read 23900 times)
jstrebel
Full Member
Posts: 188
Karma: 23
Captive Portal redirect behavior
«
on:
June 15, 2015, 11:56:53 am »
Hi, I need some advice.
Using the default Landing page of OPNsense i get after the successful login either the page success or if selected the popup window, using iphone or iPad. In case I do the same with a PC Browser then I get the preselected default page of the browser. If I do the same on the monowall captive Portal I get to the browsers default URL.
Observation / further explanation: Using iOS devices the user has to select first in the WLAN SSID. Then after a few seconds the CP shows up, where I enter the Voucher code. With a PC in most cases ( think this could depend on the PC settings) the user selects first the WLAN SSID and then as the next step the user open the browser where he need to enter the Code. After this step the default page of the browser shows up.
Q: Is there a parameter in the CP settings which determines this behavior. using iOS mobile devices. (The CP settings of OPNsense allow more options than the monowall CP.)
Thank you for your response. Jakob
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Captive Portal redirect behavior
«
Reply #1 on:
June 22, 2015, 09:07:39 am »
I'm looking at this now, not exactly sure what you mean: are you talking about "After authentication Redirection URL" or something else? Or to you mean the automatic pop-up that happens after joining the network? I haven't seen that in some cases as well and there doesn't seem to be an option associated with this.
Logged
jstrebel
Full Member
Posts: 188
Karma: 23
Re: Captive Portal redirect behavior
«
Reply #2 on:
June 22, 2015, 09:46:05 am »
Franco,
I talk about the "After authentication Redirection URL". I mean the "Home" URL of the used browser.
Thanks Jakob
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Captive Portal redirect behavior
«
Reply #3 on:
June 22, 2015, 12:08:25 pm »
It looks like this can only be achieved with JavaScript using "window.home", so it would need to go into the index.php template for the captive portal?
Logged
jstrebel
Full Member
Posts: 188
Karma: 23
Re: Captive Portal redirect behavior
«
Reply #4 on:
June 22, 2015, 01:36:10 pm »
Franco, i do not see any java code in the CP code of monowall. But monowall shows the home page of the browser after authentication.
Regards jakob
Gesendet von iPhone mit Tapatalk
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
Captive Portal redirect behavior