aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/njalla/etc/udev
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-11-06 11:00:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-11-06 11:00:33 -0300
commitc3d66da7c162508a7fdfddbf4aaaf2adfc4f7a58 (patch)
tree4b50b1cb677a7a1d6a2df2f4d7840d148c54d6cd /share/provision/files/njalla/etc/udev
parente7162cbba6161ea316f9415b672d842074bafd4a (diff)
downloadkvmx-c3d66da7c162508a7fdfddbf4aaaf2adfc4f7a58.tar.gz
kvmx-c3d66da7c162508a7fdfddbf4aaaf2adfc4f7a58.tar.bz2
Feat: WIP: ipredator/njalla migration
Diffstat (limited to 'share/provision/files/njalla/etc/udev')
-rw-r--r--share/provision/files/njalla/etc/udev/rules.d/81-vpn-firewall.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/provision/files/njalla/etc/udev/rules.d/81-vpn-firewall.rules b/share/provision/files/njalla/etc/udev/rules.d/81-vpn-firewall.rules
new file mode 100644
index 0000000..64d8bd1
--- /dev/null
+++ b/share/provision/files/njalla/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"