mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
8 lines
346 B
Plaintext
8 lines
346 B
Plaintext
[Definition]
|
|
|
|
#actionban = ssh -i /config/fail2ban/id_rsa2 admin@192.168.77.1 'firewall ban ip <ip> "<name>"'
|
|
#actionban = touch /ban/<ip>
|
|
actionban = docker exec blockips-unifi php /add_block_firewall.php <ip> >> /tmp/lala
|
|
|
|
#actionunban = touch /unban/<ip>
|
|
actionunban = docker exec blockips-unifi php /del_block_firewall.php <ip> >> /tmp/lala |