/net/crowdsec-firewall-bouncer/ crowdsec-firewall-bouncer will fetch new and old decisions from a CrowdSec API to add them in a blocklist used by supported firewalls. Signed-off-by: Kerma Gérald <gandalf@gk2.net>
4 lines
173 B
Bash
4 lines
173 B
Bash
#!/bin/sh
|
|
/etc/init.d/crowdsec enabled && /etc/init.d/crowdsec restart
|
|
/etc/init.d/crowdsec-firewall-bouncer enabled && /etc/init.d/crowdsec-firewall-bouncer restart
|
|
exit 0
|