Skip to content

OpenVPN PAM authentication not working #723

@alefello

Description

@alefello

I've a VPN server with Debian 11 and OpenVPN where PAM authentication works only if I start OpenVPN server manually from root account. If I leave it start automatically from system services (I think is systemd this way) the VPN server starts but authentication from client always fails. The client behavior in this case is weird, it doesn't say authentication failed or wrong password or other, but it continues to write a message about "timeout" or "waiting" (I don't remember, I've to check again) but anyway it doesn't bring VPN up.
I already checked the systemd configuration and CAP_AUDIT_WRITE is already there.
What else could it be the problem?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions