fixed chain command to insert.
This commit is contained in:
parent
04bc90e6ec
commit
e93a31b09d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue