Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenVPN profile breaks openvpn #13

Open
bigli0n opened this issue Sep 22, 2022 · 2 comments
Open

OpenVPN profile breaks openvpn #13

bigli0n opened this issue Sep 22, 2022 · 2 comments

Comments

@bigli0n
Copy link

bigli0n commented Sep 22, 2022

When using this profile in enforce mode, openvpn cannot launch. The syntax in the profile is incorrect, and although the PID should be whitelisted, it is denied by apparmor. Debian 11. Starting openvpn via systemctl with apparmor in complain mode, then setting it to enforce works because the pid file has already been created but this is not ideal

@nobody43
Copy link
Owner

Hi. Could you provide the error message?

@nobody43
Copy link
Owner

Anyway, you could checkout this profile: https://github.com/roddhjav/apparmor.d/blob/master/apparmor.d/groups/network/openvpn
It's more advanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants