aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/njalla-wireguard/etc/udev/rules.d
diff options
context:
space:
mode:
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"