From 81c0ad846ee24033357b1fdb36213e068c0ea5fa Mon Sep 17 00:00:00 2001 From: Konano Date: Sun, 26 Apr 2026 17:56:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20jail.local=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=AE=BE=E7=BD=AE=20nftables=20?= =?UTF-8?q?=E4=BD=9C=E4=B8=BA=E9=98=B2=E7=81=AB=E5=A2=99=E5=8A=A8=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/jail.local | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/jail.local b/files/jail.local index 34d87c5..f369078 100644 --- a/files/jail.local +++ b/files/jail.local @@ -11,6 +11,9 @@ maxretry = 5 # banaction = firewallcmd-ipset # action = %(action_mwl)s +banaction = nftables +banaction_allports = nftables[type=allports] + [sshd] enabled = true filter = sshd