freeradius plugin wont start, PID -1

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
noc
OpenVpn Newbie
Posts: 1
Joined: Thu Jul 13, 2023 10:38 am

freeradius plugin wont start, PID -1

Post by noc » Thu Jul 13, 2023 10:48 am

Hi, I'm trying to use freeradius plugin radiusplugin_v2.1a_beta1on my openvpn server on ubuntu 20.04 to authentificate users using freeradius server on other machine

When i start openvpn server using

Code: Select all

openvpn server.conf
It is working fine

But when i start it as process it is not working and in logs there are messages like this

Code: Select all

Thu Jul 13 09:33:46 2023 RADIUS-PLUGIN: Start AUTH-RADIUS-PLUGIN
Thu Jul 13 09:33:46 2023 RADIUS-PLUGIN: Found 2 params.
Thu Jul 13 09:33:46 2023 RADIUS-PLUGIN: Find params.
Thu Jul 13 09:33:46 2023 RADIUS-PLUGIN: Configfile name: /etc/openvpn/radiusplugin.cnf.
Thu Jul 13 09:33:46 2023 RADIUS-PLUGIN: Start BACKGROUND Process for authentication with PID -1.
In my /etc/openvpn/serverserver.conf it is looking like this

Code: Select all

plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin.cnf
In /etc/openvpn/radiusplugin.cnf i use correct path to ovpn server config file as well

Code: Select all

OpenVPNConfig=/etc/openvpn/server/server.conf
Maybe someone has encountered a similar problem and can help?

Post Reply