Skip to content
Snippets Groups Projects
Commit 0c0cadb4 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

feat: Use appropriate variable name for fail2ban whitelist ips

parent a9dcf73c
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
# ssh proxy # ssh proxy
enable_ssh_proxy_config: false enable_ssh_proxy_config: false
sshpiper_dest_dir: "/opt/sshpiper" sshpiper_dest_dir: "/opt/sshpiper"
fail2ban_cidr_list: "127.0.0.1/8"
# rsyslog # rsyslog
enable_rsyslog_config: false enable_rsyslog_config: false
...@@ -81,3 +80,4 @@ ...@@ -81,3 +80,4 @@
maxretry: 1 maxretry: 1
findtime: 600 findtime: 600
bantime: 1200 bantime: 1200
fail2ban_white_list: "127.0.0.1/8"
[DEFAULT] [DEFAULT]
banaction = firewalld banaction = firewalld
bantime = {{ bantime }} bantime = {{ bantime }}
ignoreip = {{ fail2ban_cidr_list }} ignoreip = {{ fail2ban_white_list }}
[sshd] [sshd]
enabled = true enabled = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment