diff options
author | Duncan Bellamy <dunk@denkimushi.com> | 2023-03-08 12:16:35 +0000 |
---|---|---|
committer | Duncan Bellamy <dunk@denkimushi.com> | 2023-03-08 12:16:35 +0000 |
commit | 7dc32971f8fa9fb4b4260e4a641aaedde68756d2 (patch) | |
tree | 556b486fd37a7aee0ff527646051d36661ec2c32 | |
parent | 9b1417a16912562f15b5e1e252f16d6b1360fa41 (diff) | |
download | fail2ban-7dc32971f8fa9fb4b4260e4a641aaedde68756d2.tar.gz |
changed missed names
-rw-r--r-- | config/action.d/mikrotik.conf | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config/action.d/mikrotik.conf b/config/action.d/mikrotik.conf index 30e9bac5..9343c86b 100644 --- a/config/action.d/mikrotik.conf +++ b/config/action.d/mikrotik.conf @@ -56,29 +56,29 @@ actionban = %(command)s "/ip firewall address-list add list=\"%(list)s\" address actionunban = %(command)s "/ip firewall address-list remove [find list=\"%(list)s\" comment=%(comment)s]" -mtikcommand = ssh -l %(user)s -p%(port)s -i %(keyfile)s %(host)s +command = ssh -l %(user)s -p%(port)s -i %(keyfile)s %(host)s # Option: user # Notes.: username to use when connecting to routerOS -mtikuser = +user = # Option: port # Notes.: port to use when connecting to routerOS -mtikport = 22 +port = 22 # Option: keyfile # Notes.: ssh private key to use for connecting to routerOS -mtikkeyfile = +keyfile = # Option: host # Notes.: hostname or ip of router -mtikhost = +host = # Option: list # Notes.: name of "address-list" to use on router -mtiklistname = Fail2Ban +list = Fail2Ban # Option: startcomment # Notes.: used as a prefix to all comments, and used to match for flushing rules startcomment = f2b-<name> # Option: comment # Notes.: comment to use on routerOS (must be unique as used for ip address removal) -mtikcomment = %(startcomment)s-<ip> +comment = %(startcomment)s-<ip> [Init] name="%(__name__)s" |