Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Redirect user to webserver before captive portal page?

    Scheduled Pinned Locked Moved Captive Portal
    9 Posts 3 Posters 3.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      andymk
      last edited by

      Is it possible to redirect a user to a webserver before the captive portal then back to the captive portal?

      Thanks,

      Andy.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        The pre-auth redirect URL is what that's for. Would go CP -> other web server -> CP -> auth to Internet

        1 Reply Last reply Reply Quote 0
        • A
          andymk
          last edited by

          Thanks cmb, i'm new to this stuff, what would i need to add on the webpage to get back to the portal or do i even need to go to the portal?

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            One way is by just sending the user to a page that isn't allowed through the portal, which kicks them back to the portal.

            1 Reply Last reply Reply Quote 0
            • E
              EOC2611P
              last edited by

              I try to insert an address in the "Pre-authentication redirect URL" field, but doesn't actually do anything.
              Do i have to edit something inside some .ini/php files to make it work??
              Thanks.

              1 Reply Last reply Reply Quote 0
              • A
                andymk
                last edited by

                I tried this and i also do not see a difference to post authentication. Would be nice if the user could be directed to a webserver first then to the captive portal.

                1 Reply Last reply Reply Quote 0
                • E
                  EOC2611P
                  last edited by

                  @andymk:

                  post authentication

                  I think you meant "Pre" not "Post"  :D 
                  My Captive Portal is working fine after the "authentication" process (which in my case consist in just put a tick and click on continue, no password, usernames, etc), but this extra option that supposed to work before that, it's just useless as it doesn't add any difference at all, maybe it's a bug????

                  1 Reply Last reply Reply Quote 0
                  • E
                    EOC2611P
                    last edited by

                    Ok i will try to see if anyone in the buggie part of the forum can shade some lights on this  :-\

                    1 Reply Last reply Reply Quote 0
                    • E
                      EOC2611P
                      last edited by

                      Just found this, it seems to require much more efforts than just inserting the address as in the post auth…. http://forum.pfsense.org/index.php/topic,34148.0.html
                      :o

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.