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

    [SOLVED] Traffic volume accounting with FreeRADIUS and Captive Portal

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 1 Posters 1.5k 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.
    • J
      jarlel
      last edited by

      Hi all,

      I have configured CP and FreeRADIUS and would like to allow users let's say 1000 Mbit per day of data traffic volume.
      The CP communicates with FreeRADIUS and the login of the user works.

      My problem is that the counter doesn't change/update/increase. This means that the user can consume data forever.
      I have used this as a guide:

      https://doc.pfsense.org/index.php/Using_Captive_Portal_with_FreeRADIUS

      Have tested both Stop/Start and Interim accounting updates.

      In the log I see this:

      FreeRADIUS: User test has used 0 MB of 12 MB daily allotted traffic. The login request was accepted.

      Can anyone assist here or give some hints/tip on what to try?

      Thanks in advance :-)

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

        Using time limit works well, by the way.

        The problem is when switching to "Traffic and Bandwidth".

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

          I figured it out. The accounting interface under FreeRADIUS was missing.

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