systemctl status ufw.service 失败

systemctl status ufw.service 失败
systemd[1]: Starting Uncomplicated firewall...
ufw-init[1232]: iptables-restore: line 5 failed
systemd[1]: ufw.service: Main process exited, code=exited, status=1/FAILURE

systemd[1]: ufw.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Uncomplicated firewall.

有什么想法可以修复该错误吗?

在哪里可以找到 iptables-restore 第 5 行?

使用 Ubuntu Server 22.04

谢谢

相关内容