centos防火墙设置通行策略




允许address访问本机6377端口

firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="10.10.202.140" port protocol="tcp" port="6377" accept"
允许address访问本机6377端口
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.30.154.98/130" port protocol="tcp" port="6377" accept"
重新加载

firewall-cmd --reload