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

Captive Portal Freeradius MySql Max Daily data limit

Scheduled Pinned Locked Moved pfSense Packages
1 Posts 1 Posters 561 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.
  • T
    toyinal
    last edited by Oct 28, 2021, 9:06 PM

    Ive setup Captive Portal with Freeradius 3 and remote Mysql Server on Pfsense 2.5.2. I can authenticate user stored on the mysql freeradius. However, I'm having problem limiting the amount of daily data usage for groups of users. I created record in the radgroupreply and radgroupcheck tables -

    groupname student
    pfsense-Max-Total-Octets := 20000000

    Users are logout after hitting the max quantity of data usage, but can log back in immediately until they reach the limit again. How can I ensure that this data usage limit will be the daily maximum and user cannot log back in for the day. Creating a record in radgroupreply and radgroupcheck tables for

    groupname student
    Max-Daily-Session := 86400

    does not make a difference.

    Ive searched the forum and google no luck, any help will be greatly appreciated.

    thanks

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received