feat(profiles): add wireguard.

This commit is contained in:
Alexandre Pujol 2022-07-10 14:24:30 +01:00
parent d8449de55e
commit c0e62f30bb
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/wg
profile wg @{exec_path} {
include <abstractions/base>
capability net_admin,
network netlink raw,
@{exec_path} mr,
include if exists <local/wg>
}