diff --git a/main.tf b/main.tf index 61654eb..a5a5225 100644 --- a/main.tf +++ b/main.tf @@ -30,8 +30,9 @@ resource "null_resource" "fail2ban_exporter" { "echo '# install helpers'", "ln -s /etc/fail2ban /root/fail2ban", "ln -s 'fail2ban-client status' /etc/fail2ban/0_status", - "ln -s 'fail2ban-client set sshd unbanip x.x.x.x' /etc/fail2ban/1_unban", - "ln -s 'fail2ban-client reload sshd' /etc/fail2ban/2_reload", + "ln -s 'fail2ban-client banned' /etc/fail2ban/1_banned", + "ln -s 'fail2ban-client unban ' /etc/fail2ban/1_unban", + "ln -s 'fail2ban-client reload' /etc/fail2ban/2_reload", # "echo '## fail2ban-prometheus-exporter'", # dw binary -- DONT WORK on alpine