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

    Captive Portal Failed when pfSense Updated to 2.3

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 3 Posters 1.9k 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.
    • benpalB
      benpal
      last edited by

      Hello everyone,

      Though I've used pfSense for quite some time - I just enrolled in this forum today.

      I need help.

      My problem with the captive portal occurs when I upgraded to pfSense 2.3.

      • It failed to continue accessing the internet after clients enter authentication requirements, e.g. user name and passwords and or voucher codes.

      • It is stuck to this page in the web browser: x.x.x.x:8002/index.php?zone=captiveportal

      • It has also failed to show the authentication error page when authentications requirements are not met.

      Much that I like the captive portal features of pfSense, however I am in need of help to address the problem after the upgrade.

      I have been using captive portal vouchers to allow our students to use the internet.

      TIA.

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        make sure all the required hidden fields are in your (custom) portal/error page.
        on 2.3 the required fields are shown in the example on the configuration page / you can also see the contents of your current pages

        1 Reply Last reply Reply Quote 0
        • benpalB
          benpal
          last edited by

          Thanks sir,

          I believed I followed the default form requirements.

          Here's the code:

          <form method="post" action="$PORTAL_ACTION$">

          Enter username and password here:

          Username:

          Password:

          </form>

          <form method="post" action="$PORTAL_ACTION$">

          For students, please enter your voucher code here:

          Voucher:

          <footer>

          1. Voucher codes are limited to one hour of internet access.

          2. Code issuance is once in a day.

          3. Voucher codes can be requested here or from the Internet Laboratory assistants.

          </footer>

          </form>

          1 Reply Last reply Reply Quote 0
          • H
            heper
            last edited by

            try adding

            1 Reply Last reply Reply Quote 0
            • benpalB
              benpal
              last edited by

              Thank you sir heper…

              It's working now.

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

                When having issues like this, save your actual 'hand made' html pages and use the default 'pfsense' ones.
                When things suddenly start to work, you know where to look for ;)

                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
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.