我之前通过简单安装sshguard软件包在 Ubuntu 16.04 上成功使用了 sshguard。然而,当我尝试在 20.04 上执行相同操作时,我发现它只是大部分有效:sshguard 正在记录块,并将它们添加到iptables --list sshguard,但块\xe2\x80\x99t 实际上没有生效。
sshguard
iptables --list sshguard
我需要做什么才能sshguard在 Focal Fossa 中充分发挥作用?
iptables ufw sshd 20.04
20.04 ×1
iptables ×1
sshd ×1
ufw ×1