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

    Captive Portal Login Button Doesn't Work

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 2 Posters 2.0k 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.
    • S Offline
      saidjawad
      last edited by

      Hello All,

      I want to set up captive portal on pfsense box(2.0.3), which is located behind a router and the internal network. All users are successfully redirected to login page, but when they enter their credentials the "Login" button doesn't work and they are not redirected back to the initial page they'd requested. FYI the page doesn't even refresh!

      Please help me with this problem.  :(

      1 Reply Last reply Reply Quote 0
      • T Offline
        thurines
        last edited by

        Hello!

        Are you sure that its the button not working, It could be a DNS problem. You have to allow your DNS servers IP through the captive portal if you dont use pfsense itsef as DNS Forwarder and point your clients DNS to it.

        /erik

        1 Reply Last reply Reply Quote 0
        • S Offline
          saidjawad
          last edited by

          Hi,

          I've setup DNS forwarder on the CP and all clients are also pointed to it. I've to say again that there is a router between the CP and internal networks.

          Thanks for your reply.

          1 Reply Last reply Reply Quote 0
          • T Offline
            thurines
            last edited by

            What kind of authentication do you use? If you get to the portal and u type in your credentials and it spins  it my as well be a problem with your authentication.

            1 Reply Last reply Reply Quote 0
            • S Offline
              saidjawad
              last edited by

              I found the problem, I was using the default login page for the pfsense. The problem is that if you use the default login page, the method and post attributes of login form are marked as comment in html e.g . I removed the comment from the tag, now it is working fine.

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