aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/njalla-openvpn/etc/udev
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-11-06 18:25:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-11-06 18:25:10 -0300
commit44aa200f3fc65c52b58bb49533bbfd17530911d0 (patch)
treee0721500e31e412463233d635cb2bff1c4dee439 /share/provision/files/njalla-openvpn/etc/udev
parentc3d66da7c162508a7fdfddbf4aaaf2adfc4f7a58 (diff)
downloadkvmx-44aa200f3fc65c52b58bb49533bbfd17530911d0.tar.gz
kvmx-44aa200f3fc65c52b58bb49533bbfd17530911d0.tar.bz2
Provision: njalla-openvpn and njalla-wireguardfeature/njalla
Diffstat (limited to 'share/provision/files/njalla-openvpn/etc/udev')
-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"