设置 UFW 权限

设置 UFW 权限

我是 Linux 和 Ubuntu 的新手。我刚刚激活了 UFW,并设置了以下权限。基本上只允许 HTTP、HTTPS 和电子邮件以及 DNS 出站。在检查日志时,我看到内核被 UFW 阻止了。我该如何纠正这个问题,以便内核可以正常工作?

localhost不需要开啟?

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

这是我的桌子:

To                      Action    From
----------------------- --------- -------------
Anywhere                DENY  IN  Anywhere    
53/udp                  ALLOW OUT Anywhere
80,443,587,993/tcp      ALLOW OUT Anywhere
Anywhere                DENY OUT  Anywhere
53/udp (v6)             ALLOW OUT Anywhere (v6)
80,443,587,993/tcp (v6) ALLOW OUT Anywhere (v6)
Anywhere (v6)           DENY OUT  Anywhere (v6)

相关内容