IPSET配置方法 2025-07-02 Website News 暂无评论 30 次阅读 #### Debian下安装&配置方法: ```csharp apt install ipset ipset create blockip hash:net --exist ipset add blockip ip/24 ipset save > /etc/ipset.conf iptables -I INPUT 1 -m set --match-set blockip src -j DROP iptables-save > /etc/iptables.rules ``` #### CentOS 6.x安装&配置方法: ```csharp yum install ipset ipset create blockip hash:net --exist ipset add blockip ip/24 service ipset save iptables -I INPUT 1 -m set --match-set blockip src -j DROP service iptables save ``` 标签: none 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭