
参考博文:
利用CentOS系统IPtables防火墙添加360网站卫士节点IP白名单
centos6.5添加白名单如下:
在防火墙 配置文件中加入白名单 ip
-A INPUT -s 183.136.133.0/24 -j ACCEPT
批量添加 参考博文 如上!
查看iptables规则是否生效
[root@ithov ~]# iptables -nL
centos7添加白名单参考博文:
参考博文:
利用CentOS系统IPtables防火墙添加360网站卫士节点IP白名单
在防火墙 配置文件中加入白名单 ip
-A INPUT -s 183.136.133.0/24 -j ACCEPT
批量添加 参考博文 如上!
查看iptables规则是否生效
[root@ithov ~]# iptables -nL
centos7添加白名单参考博文: