Official plugin for Freeradius + OpenVPN?
Alan DeKok
aland at deployingradius.com
Tue Jul 21 20:37:37 CEST 2020
On Jul 21, 2020, at 2:05 PM, Houman <houmie at gmail.com> wrote:
>
> Thank you Alan,
>
> I have installed it. It is now in /usr/lib/security/pam_radius_auth.so
>
> Then I have tried to utilise it like this:
> */etc/pam.d/ovpn-0:*
> account sufficient pam_permit.so
> auth required pam_radius_auth.so
> conf=/etc/pam.d/pam_radius_auth.conf
>
> *pam_radius_auth.conf:*
> 127.0.0.1 secret 3
That's good.
> But despite a restart, when I connect with OpenVPN freeradius is not hit at
> all.
Did you configure OpenVPN to use PAM?
> I'm running freeradius -X.
>
> Maybe I have to use the full path to pam_radius_auth.so in ovpn-0? WHat
> could I have missed?
Read the OpenVPN documentation for how to configure OpenVPN.
Alan DeKok.
More information about the Freeradius-Users
mailing list