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

    Using DNS Resolver with CP

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 692 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.
    • M
      MaxPF
      last edited by

      I set up a CP for a guest WiFi and I use DNS resolver in order to redirect traffic the login page using https. The problem with this setup is that the DNS resolver will also resolve names of devices in my LAN and other restricted subnets.

      Is there a way to prevent clients on the CP subnet (authenticated or not) from resolving names from restricted subnets?

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

        Nothing like inventing problems where there's none… What's exactly top secret about the names? Other than that, no, not with unbound or dnsmasq. Use bind and views for your top secret LAN hostnames.

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          Added to that:
          A Portal should be on its own interface.
          So, its has its own firewall - which should enable Internet access, and forbid any access the private lans or any  other interfaces.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

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