Daloradius in pfSense
-
Hey guys
When i insert username and password in daloradius and click on login button, server returns this error:Warning: include_once(DB.php): failed to open stream: No such file or directory in /usr/local/www/daloradius/library/opendb.php on line 84 Warning: include_once(): Failed opening 'DB.php' for inclusion (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/www/daloradius/library/opendb.php on line 84 Fatal error: Class 'DB' not found in /usr/local/www/daloradius/library/opendb.php on line 86
how can i fix that?!
tnx -
Clearly pfSense is missing some required components. Do you have any links to posts where it has been successfully installed? I can find many posts with errors identical to yours.
pfSense is deliberately cut down to minimise it's attack surface. If you do get this to run you will probably have to redo all your work every time you update pfSense or stick with an old possible vulnerable version. You would be much better off running a separate machine as an authentication server and running dalo on that.
Steve
-
Agreed - it's best to run authentication from a separate machine. I run FreeRadius on a separate Centos server and it works perfectly. Just make sure the Radius server is secured behind a separate firewall which only allows traffic (specifically to the Radius port) from the pfSense box. I have a number of remote sites which also use this same central Radius system for wifi access, otherwise I could operate my Radius server from the trusted network and avoid having to firewall it.
-
tnx dear stephenw10 and muswellhillbilly, :)
unfortunately i have to do that, run a separate server