From 2cda72b590a65aa83e56b17e36711d2c23315ef0 Mon Sep 17 00:00:00 2001 From: Konano Date: Fri, 13 Dec 2024 12:45:23 +0800 Subject: [PATCH] update jail.local --- files/jail.local | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/files/jail.local b/files/jail.local index 2a36565..d740b27 100644 --- a/files/jail.local +++ b/files/jail.local @@ -11,14 +11,9 @@ maxretry = 5 # banaction = firewallcmd-ipset # action = %(action_mwl)s -[sshd-22] +[sshd] enabled = true filter = sshd -port = 22 +port = 22, 2263 # action = %(action_mwl)s # logpath = /var/log/secure - -[sshd-2263] -enabled = true -filter = sshd -port = 2263