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

    Captive portal redirect to online website?

    Scheduled Pinned Locked Moved Captive Portal
    7 Posts 2 Posters 3.3k 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.
    • W
      wmsigler
      last edited by

      I have an online signin page, and I was wondering how I can use the pfSense captive portal to, upon encountering a user whose MAC address has not been entered in, to redirect them to a specific website and allow them to enter and submit their information, but not go to other websites (it would send them back)?
      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • W
        wmsigler
        last edited by

        Alternatively, how would I enable the captive portal but allow visitors to view our website or a certain area of a website? Thanks! :)

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          You can define with the "allowed IPs" tab, IPs to which even not authenticated users can connect.

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • W
            wmsigler
            last edited by

            Thanks, it worked great! Is there a way to do a wildcard so that all ip addresses related to a client's domain are allowed i.e. 12.34.56.* ?

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              I dont think so.
              (but i never tried  ::) )

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

              1 Reply Last reply Reply Quote 0
              • W
                wmsigler
                last edited by

                If not a wildcard, perhaps a range of IP addresses?
                It's just so tedious to add each and every server one at a time, especially when some of the setups are quite complicated, involving transfers from multiple servers.
                But again, you've been extremely helpful, and I thank you again! :)

                1 Reply Last reply Reply Quote 0
                • GruensFroeschliG
                  GruensFroeschli
                  last edited by

                  You could download the config.xml and edit the relevant part directly.

                  ctrl-c, ctrl-v ing all the needed IPs is still faster than adding them all by hand.

                  We do what we must, because we can.

                  Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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