The command you provided is not valid. The 'ipset' attribute should be included within the '' section of the rule. Here's the corrected command:

firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.1.10" ipset="destDenyIP" drop'
Firewall-cmd Error: INVALID_RULE: 'ipset' attribute outside of any element

原文地址: https://www.cveoy.top/t/topic/bsFj 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录