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

    Captive Portal & DHCP Server

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 6.7k 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.
    • A Offline
      anonymous66
      last edited by

      My lan has 30 clients and 2 Win2k3  Active Directory Server.
      Both of them are running MS DNS Server and only one act as DHCP Server.

      My question:

      Why , if I want activate the Captive Portal on my firewall ; I MUST enable the PFsense's DHCP Server?
      Can I use the win2k3 dhcp server innstead of PFsense service?

      Regards

      1 Reply Last reply Reply Quote 0
      • W Offline
        wallabybob
        last edited by

        @anonymous66:

        Why , if I want activate the Captive Portal on my firewall ; I MUST enable the PFsense's DHCP Server?

        I can't think why there be such a requirement. Why so you think there is such a requirement?

        @anonymous66:

        Can I use the win2k3 dhcp server innstead of PFsense service?

        I can't think of a good reason not to. Have you tried it?

        1 Reply Last reply Reply Quote 0
        • A Offline
          anonymous66
          last edited by

          @wallabybob:

          @anonymous66:

          Why , if I want activate the Captive Portal on my firewall ; I MUST enable the PFsense's DHCP Server?

          I can't think why there be such a requirement. Why so you think there is such a requirement?

          Because on PF captive portal setup page the authors clearly say:
          Note:
          Changing any settings on this page will disconnect all clients! Don't forget to enable the DHCP server on your captive portal interface! Make sure that the default/maximum DHCP lease time is higher than the timeout entered on this page. Also, the DNS forwarder needs to be enabled for DNS lookups by unauthenticated clients to work.

          @anonymous66:

          Can I use the win2k3 dhcp server innstead of PFsense service?

          I can't think of a good reason not to. Have you tried it?

          Beacause It seems very difficult integrate PFSense DHCP server with AD, It's quite impossible to update MS DNS Records

          1 Reply Last reply Reply Quote 0
          • C Offline
            cmb
            last edited by

            You can use any DHCP server with captive portal. You do need to make sure you don't block your DNS server with captive portal, using the firewall's DNS forwarder will automatically work, but you'll need an IP passthrough in CP for the Windows server if you're using it for DNS and not having it forward its requests to the DNS forwarder.

            1 Reply Last reply Reply Quote 0
            • A Offline
              anonymous66
              last edited by

              @cmb:

              You can use any DHCP server with captive portal. You do need to make sure you don't block your DNS server with captive portal, using the firewall's DNS forwarder will automatically work, but you'll need an IP passthrough in CP for the Windows server if you're using it for DNS and not having it forward its requests to the DNS forwarder.

              Many thanks for your suggestions ; I will try.
              What about the possibility of PFSense DHCP server to Update MS DNS Sever Records ? What do You think about it?

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