Remotely connect to fail2ban to do ports

Traefik can affect the edge, so blocks work there and prevent traffic hitting home network.
This commit is contained in:
Jake Howard
2021-03-28 16:06:36 +01:00
parent ac186f42e0
commit 4d218248fa
4 changed files with 24 additions and 3 deletions

View File

@ -13,3 +13,11 @@
mode: 0644
become: true
notify: restart fail2ban
- name: Create action
template:
src: files/fail2ban/remote-action.conf
dest: /etc/fail2ban/action.d/gateway.conf
mode: 0644
become: true
notify: restart fail2ban