Page 1 of 1

OPEN VPN CUSTOM AUTH_FAIL

Posted: Wed Dec 20, 2023 9:04 am
by pd1998
I use auth-user-pass-verify script on openvpn 2.5.5.
When the client authenticates, it only receives an 'auth_failed' message, regardless of whether the username, password or macaddress is wrong. I want users to be notified of authentication failures clearly instead of just receiving a vague generic 'auth_failed' message. Is there any way? please help me.

Re: OPEN VPN CUSTOM AUTH_FAIL

Posted: Fri May 17, 2024 11:17 am
by david2658
Hello,
In OpenVPN 2.5.5 the auth-user-pass-verify script only sends a generic auth_failed message to clients. To provide more detailed failure reasons, you can enhance server-side logging in your script and implement additional notification methods, such as sending emails or webhooks with specific failure details.