九通防火墙规则示例
【mysql】
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="182.140.146.0/24" port protocol="tcp" port="3306" accept'
【redis】
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="182.140.146.0/24" port protocol="tcp" port="17197" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="182.140.146.0/24" port protocol="tcp" port="17198" accept'
【ES】
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="182.140.146.0/24" port protocol="tcp" port="9200" accept'
【Kafka】
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="182.140.146.0/24" port protocol="tcp" port="9202" accept'
标签:146.0,protocol,family,示例,--,防火墙,rule,规则,port
From: https://www.cnblogs.com/hhddd-1024/p/16738915.html