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

    Captured Portal with no WAN connection

    Scheduled Pinned Locked Moved Captive Portal
    8 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.
    • ?
      Guest
      last edited by

      How would it be possible to set up a captive portal with no wan connection to resolve DNS? Essentially I want the user to hit my captive portal page even if my server is not connected to the internet. The user never has to see a site that is not my captive portal.

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • X
        XIII
        last edited by

        yes, the redirect would just fail, user would get an error.
        to combat the error page, set the redirect page to a page on the fw, the page would be something uploaded in file manager.

        -Chris Stutzman
        Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
        Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
        freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
        Check out the pfSense Wiki

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          I am sorry, I do not seem to understand.

          Are you saying that I should add a redirect page that points to say http://localIpaddress/index.htm ? Then I should uplooad my index.htm file?

          1 Reply Last reply Reply Quote 0
          • X
            XIII
            last edited by

            for the redirect address it would be localipaddress/captiveportal-file.html

            all files in the file manager start with captiveportal-

            -Chris Stutzman
            Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
            Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
            freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
            Check out the pfSense Wiki

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              My settings are as follows under the captures portal.

              However I get the page can not be found in the client browser with no redirection to the captive portal.

              In essence what I need is a LAN only captive portal.

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

                it should be http://192.168.2.1:8000/captiveportal-index.html since your captive portal lighttpd is running on 8000 if its not https.

                Regards

                1 Reply Last reply Reply Quote 0
                • ?
                  Guest
                  last edited by

                  Can someone validate this solutions as it does not seem to be working for me. Client keeps getting the "not found" errors on thier browser when there is no real DNS to lookup to. If I plug in my wan I get a captive portal if I disconnect my wan I get the "no found" errors.

                  Thanks in advanced.

                  1 Reply Last reply Reply Quote 0
                  • X
                    XIII
                    last edited by

                    thats right you are not using a wan link. you may have to fake it then

                    -Chris Stutzman
                    Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                    Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                    freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                    Check out the pfSense Wiki

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