Running scripts
- From: Mika Leppänen <mika leppanen iki fi>
- To: networkmanager-list gnome org
- Subject: Running scripts
- Date: Fri, 8 Dec 2017 00:44:06 +0200
I am using a VPN provider with NetworkManager. I am trying to make a
"killswitch" script that runs "/sbin/iptables -A OUTPUT -m owner
--uid-owner mtl ! -o tun0 -j DROP" when VPN connection is made and
"iptables -F; iptables -X; iptables -Z" when I disconnect the VPN. My
username is mtl. Is this possible any way with NetworkManager?
--
Mika Leppänen -- mika leppanen iki fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]