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

    Captive Portal Vouchers expiry

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 3 Posters 1.2k 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.
    • S
      strike101
      last edited by

      Using pfsense's Local user manager generated Voucher

      Problem is that if i go out for a while and come back , the captive portal is asking for authentication again , i need to put in the voucher code

      which setting do i need to change so that my i stayed login till the vouchers expires ?

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        How long is the voucher for?

        The DHCP lease cannot expire before the voucher. (Well, the DHCP IP address cannot be given to another MAC address, which is more a function of pool size/devices not lease time).

        I generally use Automatic MAC address passthrough with username for long voucher periods. Using that you can make your DHCP lease time whatever you want. The pruner will delete the MAC address pass-through entry when the voucher expires.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • S
          strike101
          last edited by

          the voucher is set to expire after 3 days

          i haven't checked the DHCP lease time.. it's on default AFAIK,

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

            @strike101:

            the voucher is set to expire after 3 days

            i haven't checked the DHCP lease time.. it's on default AFAIK,

            Takes 3 seconds to check ….. and far less then 3 days by default .....

            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.