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

    Captive Portal Hard Timeout & DHCP Maximum Lease Time

    Captive Portal
    3
    3
    1.0k
    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.
    • R
      rnst13
      last edited by

      Hi There. I have a problem with Captive Portal Hard Timeout. I can see from the CP status that the usernames are disconnected when hard timeout is reached but on the users gadgets and laptop, the network/WIFI are still connected. Just to test, I have configured the CP hard timeout to 5 minutes then the DHCP Max Lease Time is 360 seconds (6 mins.).  I'm using Local User to Authenticate.

      Any help will be greatly appreciated…. T.I.A.  :) :) :)

      1 Reply Last reply Reply Quote 0
      • J
        jeli
        last edited by

        They are still connected to the wifi, but they are blocked from accessing the internet. they need to still be connected to the wifi, or they can not log in again (if they are allowed to).

        At least that is what is supposed to happen.

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

          https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting tells you what happens.

          Execute

          ipfw table all list
          

          half a minute before hard time out,
          and one again after time out.
          The user's devices IP and MAC are removed from the tables after time out.
          (and I guess the related states are reset)
          The device will not be able to "pass through" pfSense anymore. A re-authentication is needed.
          At least, this is what I see what happens (been trying for the last nearly 10 years now).

          DHCP should be set much longer as 6 minutes. If your free IP pool gets empty, you could play (= lower) with the DHCP lease time. If not, leave to default.
          Anyway, as you can see when executing

          ipfw table all list
          

          the DHCP protocol always passes.

          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.