2017-12-15 18:58:35 +03:00
|
|
|
<!DOCTYPE busconfig PUBLIC
|
|
|
|
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
|
|
|
|
|
|
<!-- you have to be allowed to use the bus name "….wireguard"! -->
|
|
|
|
<!-- thus, copy the "<allow own_prefix='…'/>" and "<allow send_destination='…'/>" from below to a DBUS conf file -->
|
2017-12-15 19:16:44 +03:00
|
|
|
<!-- e.g. i copied the entire file to "/etc/dbus-1/system.d/nm-wireguard-service.conf" -->
|
2017-12-15 18:58:35 +03:00
|
|
|
<busconfig>
|
|
|
|
<policy user="root">
|
|
|
|
<allow own_prefix="org.freedesktop.NetworkManager.wireguard"/>
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.wireguard"/>
|
|
|
|
</policy>
|
2018-02-12 17:35:47 +03:00
|
|
|
<!-- TODO deny per default -->
|
2017-12-15 18:58:35 +03:00
|
|
|
<policy context="default">
|
|
|
|
<allow own_prefix="org.freedesktop.NetworkManager.wireguard"/>
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.wireguard"/>
|
|
|
|
</policy>
|
|
|
|
</busconfig>
|
|
|
|
|