OPNsense Forum

Archive => 15.1 Legacy Series => Topic started by: jstrebel on June 15, 2015, 11:56:53 am

Title: Captive Portal redirect behavior
Post by: jstrebel 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
Title: Re: Captive Portal redirect behavior
Post by: franco 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.
Title: Re: Captive Portal redirect behavior
Post by: jstrebel 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
Title: Re: Captive Portal redirect behavior
Post by: franco 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?
Title: Re: Captive Portal redirect behavior
Post by: jstrebel 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