Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Captive Portal with vouchers do not logout users after expiry

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 2 Posters 2.9k 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.
    • K
      kyutums
      last edited by

      I'm currently using pfSense 2.0-BETA4 (i386) built on Fri Aug 27 23:40:39 EDT 2010.

      I'm using the Captive Portal and vouchers to create a wifi hotspot. However, even after a voucher expires, the user is not logged out. I've ticked "No Authentication" under "Authentication" so that only the voucher is required.

      Is there a way to force the user to enter another voucher when the old one is used up?

      1 Reply Last reply
      Reply Quote 0
      • K
        kyutums
        last edited by

        Anyone experienced this, too? :)

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

          Please try running /etc/rc.prunecaptiveportal from a shell once you think a session should be timed out.

          Does it disconnect the session after running the above?

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

            I just setup a test machine here and it works as expected.

            Might want to make sure you have no devices in between doing NAT.

            1 Reply Last reply
            Reply Quote 0
            • K
              kyutums
              last edited by

              The only device between my pfSense pc and the internet is an Asus WL-520GU router. Could it be because of Squid acting as a transparent proxy?

              In any case, I installed pfSense 2 Beta 4, Sept 9 build and user expiry seems to be working now. :)

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy