summaryrefslogtreecommitdiff
path: root/src/charon/plugins/nm/gnome/nm-strongswan-service.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/nm/gnome/nm-strongswan-service.conf')
-rw-r--r--src/charon/plugins/nm/gnome/nm-strongswan-service.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/charon/plugins/nm/gnome/nm-strongswan-service.conf b/src/charon/plugins/nm/gnome/nm-strongswan-service.conf
new file mode 100644
index 000000000..dccc19af9
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/nm-strongswan-service.conf
@@ -0,0 +1,16 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="org.freedesktop.NetworkManager.strongswan"/>
+ <allow send_destination="org.freedesktop.NetworkManager.strongswan"/>
+ <allow send_interface="org.freedesktop.NetworkManager.strongswan"/>
+ </policy>
+ <policy context="default">
+ <deny own="org.freedesktop.NetworkManager.strongswan"/>
+ <deny send_destination="org.freedesktop.NetworkManager.strongswan"/>
+ <deny send_interface="org.freedesktop.NetworkManager.strongswan"/>
+ </policy>
+</busconfig>
+