当前位置:论坛首页 > Linux面板 > 求助

【已解答】飞牛nas安装的宝塔无法打开防火墙

发表在 Linux面板2025-10-15 16:11 [复制链接] 3 512

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:飞牛nas
系统版本:宝塔V11.1.0
问题描述:面板里不能打开防火墙
相关截图(日志、错误):报错如下

启动防火墙失败: 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'
使用道具 举报 只看该作者 回复
发表于 2025-10-16 09:43:44 | 显示全部楼层
上面的提示是权限问题,需要使用root执行
使用道具 举报 回复 支持 反对
发表于 2025-10-21 12:26:27 | 显示全部楼层
阿珂 发表于 2025-10-16 09:43
上面的提示是权限问题,需要使用root执行

怎样打开roo权限呢??
使用道具 举报 回复 支持 反对
发表于 2025-11-29 11:27:32 | 显示全部楼层
宝塔用户_flmphy 发表于 2025-10-21 12:26
怎样打开roo权限呢??

sudo -i这个是飞牛里面切换的命令
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表