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

    Retain config adjustments in raddb (FreeRadius) configuration

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 376 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.
    • S
      SandMouse
      last edited by

      Using the shelI, made some minor changes to the FreeRadius configuration within pfSense. The changes work and the daemon starts without errors. The modification in

      /usr/local/etc/raddb/sites-enabled/default
      

      however isn't always retained, and I've had to reapply it several times. I haven't found a suitable place in the GUI to do this. In which file are my changes preserved, even after a reboot or upgrade? The modification belongs in the accounting section of

      /usr/local/etc/raddb/sites-enabled/default
      
      1 Reply Last reply Reply Quote 1
      • I
        izanatos
        last edited by

        Hi,

        I having the same issue and noticed that if I click on the save button it will override the changes made in /usr/local/etc/raddb/sites-enabled/default.

        I suspect the reason is because it uses the config in /cf/conf/config.xml to reconfigure the package.

        In my case I am trying to add an ippool to the config but i cannot figure out the matching XML parameter that would allow me to create this config in /cf/conf/config.xml.

        Would be great if the community had any suggestions in that regards,

        thanks,

        S 1 Reply Last reply Reply Quote 0
        • S
          SandMouse @izanatos
          last edited by

          @izanatos It seems as if
          /cf/conf/config.xml
          refers to files like:
          /usr/local/pkg/freeradiussettings.xml
          and
          /usr/local/pkg/freeradiusclients.xml

          As far as I can tell, those files do not contain configuration and are merely a template for the web GUI. So the question is/remains where can we find the configuration? I've been searching for known values but I could not find any.

          I'm sure I still have to learn a lot about how pfSense works and interacts with installed packages. Suggestions are welcome. :-D

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