OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: Ram Singh on October 21, 2016, 11:53:44 am

Title: Captive portal redirect page
Post by: Ram Singh on October 21, 2016, 11:53:44 am
Hello

I have configured a Captive portal. Can someone explain me how can I configure a specific redirect URL after login?

Thank you
Ram
Title: Re: Captive portal redirect page
Post by: fabian on October 21, 2016, 06:41:37 pm
shouldn't that be possible in the captive portal zone (may be advanced option)?
Title: Re: Captive portal redirect page
Post by: AdSchellevis on October 21, 2016, 07:03:27 pm
you need to create your own template and change the redirection in there.
(search for window.location in the index.html page)

For more info on how to update your template see https://docs.opnsense.org/manual/captiveportal.html (https://docs.opnsense.org/manual/captiveportal.html)
Title: Re: Captive portal redirect page
Post by: Wayne Train on October 19, 2017, 10:38:56 am
Hi,
i found the part in index.html. But I don't really understand what to modify to be redirected for example to https://site.tld.
Any idea ?
Cheers,
Wayne