#include /usr/sbin/swanctl { #include # Allow /etc/swanctl/x509ca/ files to symlink to system-wide ca-certificates #include # CAP_DAC_OVERRIDE is needed for optional charon.user/charon.group # configuration capability dac_override, # Allow reading strongswan.conf configuration files /etc/strongswan.conf r, /etc/strongswan.d/ r, /etc/strongswan.d/** r, # All reading configuration, certificate, and key files beneath /etc/swanctl/ /etc/swanctl/** r, # Allow communication with VICI plugin UNIX domain socket /run/charon.vici rw, # As of 5.5.2, swanctl unnecessarily loads plugins by default, even though no # plugins are actually used by swanctl. The following can be removed if # plugin loading is disabled. #include #include # Site-specific additions and overrides. See local/README for details. #include }