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

    pfSense config with daloRadius (freeRadius) to setup download quota limitation

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 1.7k 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.
    • X
      xsmael
      last edited by xsmael

      I have pfsense and daloRadius(running freeRadius inside) up and running, I successfully configured radius parameters on pfSense and the NAS on daloRadius and they can talk to each other.

      I am able to create users from daloRadius and authenticate them from pfSense. But when I add some attributes for bandwidth limitation or download quota limitation, authentication fails from pfSense.

      Plus in spite of all the search i did, am' not able to understand clearly how radius attributes function: - Difference between check and reply and when to use either - also the operators being used.

      Since i didn't understand clearly i tried all combinations that made sense to me but it never worked, I always get access-reject.

      I added to daloRadius the pfSense radius attribute dictionary which i got from here:

      VENDOR      pfSense             13644
      
      BEGIN-VENDOR    pfSense
      
      ATTRIBUTE   pfSense-Bandwidth-Max-Up        1   integer
      ATTRIBUTE   pfSense-Bandwidth-Max-Down      2   integer
      ATTRIBUTE   pfSense-Max-Total-Octets        3   integer
      
      END-VENDOR pfSense
      

      but whenever I create a user and try using one of these attributes in either reply or check attribute, the user is not authorised when logging in, just getting access-reject with no explanations.

      What am I doing wrong ?

      1 Reply Last reply Reply Quote 0
      • F
        free4 Rebel Alliance
        last edited by

        I might say obvious things, but did you have a look to the documentation ? It has been updated recently

        https://docs.netgate.com/pfsense/en/latest/captiveportal/captive-portal-configuration.html

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