OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: vigeland on December 24, 2024, 01:36:54 PM

Title: FreeRadius PPSK AP - tunnel-password
Post by: vigeland on December 24, 2024, 01:36:54 PM
I use Freeradius for ppsk with my access point. The tunnel-password parameter is required in the users file. I have created a patch that patches the 3 necessary files. It is always annoying to patch them, because if you forget to do so, you lose the passwords. Is it planned to include an official parameter tunnel-password, or how to add the patch. Or is this not desired?
Title: Re: FreeRadius PPSK AP - tunnel-password
Post by: Taunt9930 on January 02, 2025, 09:33:24 PM
Ahh, got here from a Google search - I should have known to look in the forum first. I too am looking to set up PPSK with Radius for my wireless clients connecting to access points - I am already doing so with my wired clients. I will almost certainly hold off until it is easy to set the tunnel-password parameter for wireless clients, so interested to know if this is on the radar or if it will always be a manual configuration?
Title: Re: FreeRadius PPSK AP - tunnel-password
Post by: vigeland on January 04, 2025, 04:41:02 PM
Attached the patch file to configure by the GUI.
Install:
copy file to the server
call
patch --directory=/ -p0 < radius.patch
There is a new field PKS-Passwort in the user konfiguration.

The passwords will be saved in backup.xml too.
Restore, install first the patch then restore the config.xml and may be need, the change one of the user and press save.