天昱 发表于 2026-1-21 17:59:26

【已解答】防火墙添加IP规则提示设置规则失败:/usr/bin/bash:...

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
v11.5.0
系统版本:
Ubuntu 24

问题描述:
防火墙添加IP规则提示设置规则失败:/usr/bin/bash: line 1: ipset:...
相关截图(日志、错误):

阿珂 发表于 2026-1-22 10:51:31

缺少ipset命令
可以apt install -y ipset安装

天昱 发表于 2026-1-22 20:02:42

阿珂 发表于 2026-1-22 10:51
缺少ipset命令
可以apt install -y ipset安装

安装又提示设置规则失败:ipset v7.19: The set with the given name does not exist

soulflying 发表于 2026-4-6 08:22:37

天昱 发表于 2026-1-22 20:02
安装又提示设置规则失败:ipset v7.19: The set with the given name does not exist

我也出现了这种情况。设置规则失败:ipset v7.15: The set with the given name does not exist。系统是系统:Ubuntu 22.04.1 LTS

大炮运维V587 发表于 2026-4-6 17:29:19

soulflying 发表于 2026-4-6 08:22
我也出现了这种情况。设置规则失败:ipset v7.15: The set with the given name does not exist。系统是系 ...

上面的命令执行下试试呢?

大炮运维V587 发表于 2026-4-6 17:29:49

天昱 发表于 2026-1-22 20:02
安装又提示设置规则失败:ipset v7.19: The set with the given name does not exist

whereis ipset
把执行后的命令截图发出来

soulflying 发表于 2026-4-7 20:19:26

大炮运维V587 发表于 2026-4-6 17:29
把执行后的命令截图发出来


大炮运维V587 发表于 2026-4-9 10:19:04

soulflying 发表于 2026-4-7 20:19


您好,您扫描右下角的二维码,联系我司客户服务经理,就说找我解决ipset的问题的
页: [1]
查看完整版本: 【已解答】防火墙添加IP规则提示设置规则失败:/usr/bin/bash:...