From e93a31b09d1c2ee0c9d993241c7c542e4f297fde Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Sat, 16 Apr 2016 21:30:43 +0200 Subject: [PATCH] fixed chain command to insert. --- plugins.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins.cfg b/plugins.cfg index 2ce2084..c7e7c3e 100644 --- a/plugins.cfg +++ b/plugins.cfg @@ -14,10 +14,9 @@ enabled = True only_ip = True # Command templates for arping and iptables. - # Arping might block so make sure you use a timeout and limit the number of # packets it sends. arping = -f -c 1 -w 30 -I wlp3s0 {ip_address} -iptables_mac = -t mangle -D internet -m mac --mac-source "{mac_address}" -j RETURN -iptables_ip = -t mangle -D internet -m tcp --source "{ip_address}" -j RETURN +iptables_mac = -t mangle -I internet 1 -m mac --mac-source {mac_address} -j RETURN +iptables_ip = -t mangle -I internet 1 -m tcp --source {ip_address} -j RETURN