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

    Captive portal or something else

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 2 Posters 742 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.
    • G
      gdelong
      last edited by

      I need to configure a lan that when ever anybody connects to it the will be forwarded to *.xyz.com

      I do not want to see the actual captive portal landing page.

      this will be an open network with no authentication

      if they try to go to abc.com I want it to send them back to xyz.com with no error message at all

      all sub domains should work

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Like this? https://doc.pfsense.org/index.php/Creating_a_DNS_Black_Hole_for_Captive_Portal_Clients

        1 Reply Last reply Reply Quote 0
        • G
          gdelong
          last edited by

          Thank you doktornotor

          That is close and I already looked at that, my problem is that I do not know how to deal with the large number of ips a large corporate website may use for subdomains.

          For example today.xyz.com may have a different ip from tomorrow.xyz.com I always upon connection want it to go to xyz.com but if the user wants to connect to today.xyz.com they need to be able to go there also.

          All non xyz.com requests should go to xyz.com but sub domain requests on XYZ.com should pass through

          Hope that makes sense.

          Is it possible I am uneducated on large corporate DNS structure?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Sorry, you told us you want ANY request redirected to xyz.com "with no error message at all". For that, you need exactly ONE IP configured via the blackhole zone, and a webserver configured accordingly. Dunno really what's this talk about today.abc.com or tomorrow.abc.com. Not interested in moving targets here. Specify exactly what you want.

            1 Reply Last reply Reply Quote 0
            • G
              gdelong
              last edited by

              @doktornotor:

              Sorry, you told us you want ANY request redirected to xyz.com "with no error message at all". For that, you need exactly ONE IP configured via the blackhole zone, and a webserver configured accordingly. Dunno really what's this talk about today.abc.com or tomorrow.abc.com. Not interested in moving targets here. Specify exactly what you want.

              Back on the job, I edited my last post to make the thought process more contiguous.

              I appreciate your help.

              gdelong

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