king888 发表于 2024-12-12 03:58:00

【已解答】启动防火墙失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.0 在DEBIAN宿主机 DOCKER安装的DEBIAN下
9.0
系统版本:DEBIAN12
问题描述:启动防火墙失败ERROR: problem running ufw-init iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) iptables-restore v1.8.9 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) sysctl: permission denied on key "net.ipv4.conf.all.accept_redirects" sysctl: permission denied on key "net.ipv4.conf.default.accept_redirects" sysctl: permission denied on key "net.ipv6.conf.all.accept_redirects" sysctl: permission denied on key "net.ipv6.conf.default.accept_redirects" sysctl: permission denied on key "net.ipv4.icmp_echo_ignore_broadcasts" sysctl: permission denied on key "net.ipv4.icmp_ignore_bogus_error_responses" sysctl: permission denied on key "net.ipv4.icmp_echo_ignore_all" sysctl: permission denied on key "net.ipv4.conf.all.log_martians" sysctl: permission denied on key "net.ipv4.conf.default.log_martians" Problem loading ipv6 (skipping) Problem running '/etc/ufw/before.rules' Problem running '/etc/ufw/after.rules' Problem running '/etc/ufw/user.rules'
相关截图(日志、错误):

大炮运维V587 发表于 2024-12-12 11:07:07

您好,我们面板右边的 docker 做的堡塔面板可以的,您部署容器的时候使用特权模式才能调用系统的防火墙
页: [1]
查看完整版本: 【已解答】启动防火墙失败