aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/njalla-wireguard/etc/udev/rules.d
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-11-06 19:33:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-11-06 19:33:02 -0300
commita95c84c5cc9cdd4bced26bdb2c5c1908ffcaa6b5 (patch)
treef1be0c3a1f1a738b1522816498078732917adac9 /share/provision/files/njalla-wireguard/etc/udev/rules.d
parent44aa200f3fc65c52b58bb49533bbfd17530911d0 (diff)
downloadkvmx-a95c84c5cc9cdd4bced26bdb2c5c1908ffcaa6b5.tar.gz
kvmx-a95c84c5cc9cdd4bced26bdb2c5c1908ffcaa6b5.tar.bz2
Feat: provision: njalla-wireguard: firewall config
Diffstat (limited to 'share/provision/files/njalla-wireguard/etc/udev/rules.d')
-rw-r--r--share/provision/files/njalla-wireguard/etc/udev/rules.d/81-vpn-firewall.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/provision/files/njalla-wireguard/etc/udev/rules.d/81-vpn-firewall.rules b/share/provision/files/njalla-wireguard/etc/udev/rules.d/81-vpn-firewall.rules
new file mode 100644
index 0000000..8c9d744
--- /dev/null
+++ b/share/provision/files/njalla-wireguard/etc/udev/rules.d/81-vpn-firewall.rules
@@ -0,0 +1,2 @@
+KERNEL=="wg0", ACTION=="add", RUN+="/usr/local/bin/fermreload.sh add"
+KERNEL=="wg0", ACTION=="remove", RUN+="/usr/local/bin/fermreload.sh remove"