Skip to content

Commit

Permalink
Fixed Fail2Ban Config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsitech committed Aug 16, 2017
1 parent ee39522 commit d95dd00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UbuntuServer_16.04LTS/templates/fail2ban
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ action_mwl = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(proto
%(mta)s-whois-lines[name=%(__name__)s, dest="%(destemail)s", logpath=%(logpath)s, chain="%(chain)s"]
action = %(action_mw)s

[ssh]
[sshd]
enabled = true
port = 372
filter = sshd
Expand All @@ -37,7 +37,6 @@ enabled = false
filter = pam-generic
port = all
banaction = iptables-allports
port = anyport
logpath = /var/log/auth.log
maxretry = 6

Expand Down

0 comments on commit d95dd00

Please sign in to comment.