Nginx 配置失败:iptables 表不存在

Nginx 配置失败:iptables 表不存在

我尝试在我的 Ubuntu 系统上配置 nginx。在此过程中,我执行命令时sudo ufw allow 'Nginx HTTP出现错误:

WARN: initcaps
[Errno 2] iptables v1.8.7 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Skipping adding existing rule

相关内容