aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/njalla-openvpn/etc/udev/rules.d/81-vpn-firewall.rules
diff options
context:
space:
mode:
Diffstat (limited to 'share/provision/files/njalla-openvpn/etc/udev/rules.d/81-vpn-firewall.rules')
-rw-r--r--share/provision/files/njalla-openvpn/etc/udev/rules.d/81-vpn-firewall.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/provision/files/njalla-openvpn/etc/udev/rules.d/81-vpn-firewall.rules b/share/provision/files/njalla-openvpn/etc/udev/rules.d/81-vpn-firewall.rules
new file mode 100644
index 0000000..64d8bd1
--- /dev/null
+++ b/share/provision/files/njalla-openvpn/etc/udev/rules.d/81-vpn-firewall.rules
@@ -0,0 +1,2 @@
+KERNEL=="tun0", ACTION=="add", RUN+="/usr/local/bin/fermreload.sh add"
+KERNEL=="tun0", ACTION=="remove", RUN+="/usr/local/bin/fermreload.sh remove"