feat: 更新 jail.local 配置,设置 nftables 作为防火墙动作
This commit is contained in:
parent
47d0a0fd22
commit
81c0ad846e
@ -11,6 +11,9 @@ maxretry = 5
|
|||||||
# banaction = firewallcmd-ipset
|
# banaction = firewallcmd-ipset
|
||||||
# action = %(action_mwl)s
|
# action = %(action_mwl)s
|
||||||
|
|
||||||
|
banaction = nftables
|
||||||
|
banaction_allports = nftables[type=allports]
|
||||||
|
|
||||||
[sshd]
|
[sshd]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = sshd
|
filter = sshd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user