OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Captive portal redirect page
« previous next »
  • Print
Pages: [1]

Author Topic: Captive portal redirect page  (Read 14862 times)

Ram Singh

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Captive portal redirect page
« 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
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Captive portal redirect page
« Reply #1 on: October 21, 2016, 06:41:37 pm »
shouldn't that be possible in the captive portal zone (may be advanced option)?
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 850
  • Karma: 163
    • View Profile
Re: Captive portal redirect page
« Reply #2 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
Logged

Wayne Train

  • Full Member
  • ***
  • Posts: 194
  • Karma: 12
    • View Profile
Re: Captive portal redirect page
« Reply #3 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Captive portal redirect page
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2