mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
fixed chain command to insert.
This commit is contained in:
parent
04bc90e6ec
commit
e93a31b09d
1 changed files with 2 additions and 3 deletions
|
@ -14,10 +14,9 @@ enabled = True
|
||||||
only_ip = True
|
only_ip = True
|
||||||
|
|
||||||
# Command templates for arping and iptables.
|
# Command templates for arping and iptables.
|
||||||
|
|
||||||
# Arping might block so make sure you use a timeout and limit the number of
|
# Arping might block so make sure you use a timeout and limit the number of
|
||||||
# packets it sends.
|
# packets it sends.
|
||||||
arping = -f -c 1 -w 30 -I wlp3s0 {ip_address}
|
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_mac = -t mangle -I internet 1 -m mac --mac-source {mac_address} -j RETURN
|
||||||
iptables_ip = -t mangle -D internet -m tcp --source "{ip_address}" -j RETURN
|
iptables_ip = -t mangle -I internet 1 -m tcp --source {ip_address} -j RETURN
|
||||||
|
|
Loading…
Reference in a new issue