centos7防火墙开某网段端口
firewall-cmd --permanent --add-rich-rule 'rule family=ipv4 source address=10.0.0.1/24 port port=6379 protocol=tcp accept'
centos7防火墙开某网段端口
firewall-cmd --permanent --add-rich-rule 'rule family=ipv4 source address=10.0.0.1/24 port port=6379 protocol=tcp accept'