<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[After existing free radius server user data quota but still, user can use the internet.]]></title><description><![CDATA[<p dir="auto">Hi all, I am new for pfsense and I want to assign data quota to my company employees. So I used pfsense free radius server for this. but after the quota is over still, users can use the internet. Please help me and sorry for the grammar mistakes!!</p>
]]></description><link>https://forum.netgate.com/topic/163186/after-existing-free-radius-server-user-data-quota-but-still-user-can-use-the-internet</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 20:14:49 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/163186.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Apr 2021 04:37:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to After existing free radius server user data quota but still, user can use the internet. on Thu, 22 Apr 2021 10:34:33 GMT]]></title><description><![CDATA[<p dir="auto">Thank You <a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>gertjan</bdi></a> I missed one setting. It's work Now.</p>
]]></description><link>https://forum.netgate.com/post/979281</link><guid isPermaLink="true">https://forum.netgate.com/post/979281</guid><dc:creator><![CDATA[Ranga Hettiarachchi]]></dc:creator><pubDate>Thu, 22 Apr 2021 10:34:33 GMT</pubDate></item><item><title><![CDATA[Reply to After existing free radius server user data quota but still, user can use the internet. on Thu, 22 Apr 2021 05:46:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Captive portal settings : example of a possible setup :</p>
<p dir="auto"><img src="/assets/uploads/files/1619068976120-65f362ef-5838-40c6-95ca-19351ded19f3-image.png" alt="65f362ef-5838-40c6-95ca-19351ded19f3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Settings for a FreeRadius user (this one can use 3096 Mb ) :</p>
<p dir="auto"><img src="/assets/uploads/files/1619069106138-d6dbd77c-e0f6-4dca-96d7-c002f7182b87-image.png" alt="d6dbd77c-e0f6-4dca-96d7-c002f7182b87-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Every minutes or so, you'll see this in in  Status &gt; System Logs &gt; System &gt; General</p>
<p dir="auto"><img src="/assets/uploads/files/1619069330315-7ae37aea-d157-426a-a1d3-263070bc2478-image.png" alt="7ae37aea-d157-426a-a1d3-263070bc2478-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bingo600">@<bdi>bingo600</bdi></a></p>
<p dir="auto">The reel checks are not done during start or stop.<br />
Re read this part :<br />
For a user set up in FreeRadius :</p>
<p dir="auto"><img src="/assets/uploads/files/1619069513487-cf3efdac-8c32-4361-b66a-4c1c23b77b76-image.png" alt="cf3efdac-8c32-4361-b66a-4c1c23b77b76-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">and this (Captive portal settings ):</p>
<p dir="auto"><img src="/assets/uploads/files/1619069590567-5496e1e6-26e5-4b9a-bbac-f157eeea8a99-image.png" alt="5496e1e6-26e5-4b9a-bbac-f157eeea8a99-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">and</p>
<p dir="auto"><img src="/assets/uploads/files/1619069611240-521087b2-96ca-44aa-b75e-6adb8a90f90e-image.png" alt="521087b2-96ca-44aa-b75e-6adb8a90f90e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You saw the snip of the logs above ?<br />
These are repeated every minute, or 5 minutes , whatever delay you choose - see images above, to update the counters with used 'bytes'.<br />
Btw : this fills up de system log really quickly - normally, I deactivate the line in the script that does does the logging, and I only keep the log line that says when the user is thrown of the portal because he used all of his amount of Download and Upload Traffic.<br />
The magic is happening here : /usr/local/etc/raddb/scripts/datacounter_auth.sh</p>
]]></description><link>https://forum.netgate.com/post/979250</link><guid isPermaLink="true">https://forum.netgate.com/post/979250</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Thu, 22 Apr 2021 05:46:32 GMT</pubDate></item><item><title><![CDATA[Reply to After existing free radius server user data quota but still, user can use the internet. on Thu, 22 Apr 2021 05:27:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ranga-hettiarachchi">@<bdi>ranga-hettiarachchi</bdi></a></p>
<p dir="auto">I'm not using FeeRadius on pfSense, and have not read how the manual says it should perform on pfSense.<br />
<strong>This is just a "quess".</strong></p>
<p dir="auto">It could be that quota is only checked on "user login", as that is where Radius is involved.</p>
<p dir="auto">My guess would be that the radius accounting records are saved on logout , and then at next login the data is available.</p>
<p dir="auto">I have no idea if Radius is queried during an ongoing session, but i haven't seen that on systems i have used.</p>
<p dir="auto">After exceeding the quota , have you tried to logout/login ?<br />
To see if the the Radius accounting is being queried during logon , and if quota limit then would work ?</p>
<p dir="auto">/Bingo</p>
]]></description><link>https://forum.netgate.com/post/979249</link><guid isPermaLink="true">https://forum.netgate.com/post/979249</guid><dc:creator><![CDATA[bingo600]]></dc:creator><pubDate>Thu, 22 Apr 2021 05:27:44 GMT</pubDate></item></channel></rss>