From 7dc32971f8fa9fb4b4260e4a641aaedde68756d2 Mon Sep 17 00:00:00 2001 From: Duncan Bellamy Date: Wed, 8 Mar 2023 12:16:35 +0000 Subject: [PATCH] changed missed names --- config/action.d/mikrotik.conf | 14 +++++++------- 1 file 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- # Option: comment # Notes.: comment to use on routerOS (must be unique as used for ip address removal) -mtikcomment = %(startcomment)s- +comment = %(startcomment)s- [Init] name="%(__name__)s"