mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
command templates.
This commit is contained in:
parent
bf3c01f59a
commit
d1ef8b9bee
1 changed files with 8 additions and 2 deletions
10
plugins.cfg
10
plugins.cfg
|
@ -5,5 +5,11 @@ enabled = True
|
|||
|
||||
[iptables]
|
||||
enabled = True
|
||||
command_mac = iptables -t mangle -D internet -m mac --mac-source "{mac_address}" -j RETURN
|
||||
command_ip = iptables -t mangle -D internet -m tcp --source "{ip_address}" -j RETURN
|
||||
|
||||
# If you know you won't be able to get the clients HW address then use this.
|
||||
only_ip = True
|
||||
|
||||
# Command templates for arping and iptables.
|
||||
arping_cmd = arping -f -c 1 -w 30 -I wlp3s0 {ip_address}
|
||||
iptables_mac = iptables -t mangle -D internet -m mac --mac-source "{mac_address}" -j RETURN
|
||||
iptables_ip = iptables -t mangle -D internet -m tcp --source "{ip_address}" -j RETURN
|
||||
|
|
Loading…
Reference in a new issue