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

    DHCP Stop Working when captive Portal is enabled

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 367 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
      wakasavan
      last edited by

      There was one Site where I installed PFSense with Captive Portal.
      WAN was PPPOE and LAN was 172.16.0.1/22
      everything was very smooth until today
      There was a power outage for a long time and once the firewall rebooted the DHCP server gives IP to some users and then stopped working
      No IP lease from the DHCP server.
      Firewall can be accessed via WAN link but from local interfaced it is not working.
      but once I disable the Captive Portal the DHCP was start giving IP and Internet start working.
      I repair the the firewall but there is no issue there Also I moved backup to new machine still the same issue.
      As long as captive portal enabled no Internet at all.

      I got a Recently one of our site was

      F 1 Reply Last reply Reply Quote 0
      • F
        free4 Rebel Alliance @wakasavan
        last edited by free4

        @wakasavan is your DHCP server hosted on your pfsense?
        If no, is your DHCP in a separate network?(using DHCP relay feature)

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

          The ipfw firewall rules, put in place when the captive portal is activated, start with some rules letting through DHCP traffic. It's part of the default rule set.

          When a device is hooked up, can you see DHCP traffic (DHCPDISCOVER) in the pfSense DHCP logs ?
          If not, NIC is bad, cable is bad, or some switch device between user and pfSense.

          Btw : you should keep LAN for admin purposes, and use a second interface - OPT1 - for the portal.

          If remote admining is needed, use OpenVPN

          @wakasavan said in DHCP Stop Working when captive Portal is enabled:

          As long as captive portal enabled no Internet at all.

          That's what a portal should be doing.

          @wakasavan said in DHCP Stop Working when captive Portal is enabled:

          I repair the the firewall but there is no issue there

          What do you man ? You repaired something that wasn't broken ?

          @wakasavan said in DHCP Stop Working when captive Portal is enabled:

          Firewall can be accessed via WAN link but from local interfaced it is not working.

          If a portal is activated on that LAN, then,except for obtaining an IP, nothing should work.
          Exception : DNS requests ! Check that. But ok, if the device can't get an IP, all will be down.

          @wakasavan said in DHCP Stop Working when captive Portal is enabled:

          There was a power outage for a long time

          The power of pfSense was shut down using the way it should ? Do you use a UPS ?
          The file system is clean ? ( see very recent Netgate video on Youtube).

          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.