21 Jul
2020
21 Jul
'20
2:37 p.m.
On Jul 21, 2020, at 2:05 PM, Houman <houmie@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.