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

    Bug ?? - Not Redirecting to the Login Page - HTTPS Pages

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 3.4k 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.
    • F
      fvaz
      last edited by

      Hi

      The Captive Portal works wonderful unless the homepage of the PC start with https (Homepage on the Browser) ,

      If start with https the DNS resolve the IP, and the PC try to open the page, without be redirect to the portal, unless we change the page (without the https) the pc will trying to open, and does not make the redirect to the login page.

      I thing is a problem in the internal Firewall that redirect all the trafic off the Unauthenticated User to the Login Page but only the port 80, and not the https (port 443 or other port)

      Have any ideia to solve this problem?

      I´m using pfsense 1.2.3 RC.

      Thanks

      1 Reply Last reply Reply Quote 0
      • F
        fvaz
        last edited by

        ok…

        I Find and fix the problem..

        I would like to change to....

        Go to etc\inc there are the file captiveportal.inc...

        Edit the file, go to line 423 and put the rule

        "

        redirect non-authenticated clients to captive portal

        add 19904 set 1 fwd 127.0.0.1,8001 tcp from any to any 443 in

        let the responses from the captive portal web server back out

        add 19905 set 1 pass tcp from any 443 to any out
        "

        Works, if you have https on the captive portal,

        put port 8000 if you have http on the login portal

        Hope... Help...

        (lost many days to find this issue )

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

          @fvaz:

          ok…

          I Find and fix the problem..

          I would like to change to....

          Go to etc\inc there are the file captiveportal.inc...

          Edit the file, go to line 423 and put the rule

          "

          redirect non-authenticated clients to captive portal

          add 19904 set 1 fwd 127.0.0.1,8001 tcp from any to any 443 in

          let the responses from the captive portal web server back out

          add 19905 set 1 pass tcp from any 443 to any out
          "

          Works, if you have https on the captive portal,

          put port 8000 if you have http on the login portal

          Hope... Help...

          (lost many days to find this issue )

          no work

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