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

    Portal page without authentication loops back

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 3 Posters 2.8k 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.
    • Y
      Yogi.B
      last edited by

      Hi there,

      I'm having trouble to get the portal page working properly.

      I don't need to authenticate users. I only want to have a simple free hotspot: click the button to agree with terms&conditions of use and then be redirected to a page on the internet of my choice.

      The splash page is very simple, because we only expect smart phone and tablet users, so no laptops. I've included all of the items:
      The value of the accept button is empty, because I replace it with a picture through css.

      As for the settings:

      • Enable: y
      • Interface: LAN
      • Max concurrent connections: 0 (unlimited)
        Then I leave a lot of options empty

      The page loads in the browser when activated. Looking in the source code, the $PORTAL_REDIRURL$ is properly replaced by my given URL. $PORTAL_ACTION$ however redirects to itself.

      I'm guessing Captive Portal still wants to see some authentication. Not sure why or, more important, how to solve this.

      Any help is appreciated.

      Thanks!

      P.S. Running the latest (2.1) PfSense.

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi.

        Question: the default setup: the default login forum + a local user that you created for the occasion, that worked ?
        After that: hide the user+password on the forum, just keep the 'Login' button and all users will login with the same name.

        Not sure why or, more important, how to solve this.

        Noop  ;)
        The only thing that matters, is the 'Why' part.
        When known, everything else is known also.
        The other way around: doing without knowing = the start of the end.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • Y
          Yogi.B
          last edited by

          Creating an invisible user? Why haven't I thought of this yet!?

          So… I suppose I need to create this user in System -> User Manager?

          Added this to my form:

          But… still the form loops. :(

          1 Reply Last reply Reply Quote 0
          • Y
            Yogi.B
            last edited by

            Problem solved!

            My submit button doesn't have a value, because I replaced the default button by an image. For some reason Captive Portal doesn't accept the continue button if it doesn't have value="Continue".

            A bit silly though.

            1 Reply Last reply Reply Quote 0
            • J
              johndakos
              last edited by

              hello yogi.b

              I have the same problem. I have a image submit button. and with image the button don't make redirection. this work only with google chrome.

              any idea?
              thanks

              1 Reply Last reply Reply Quote 0
              • J
                johndakos
                last edited by

                anyone to do this ?  image submit button?  is not work! any idea?

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