centos防火墙指定ip白名单

firewall-cmd --permanent --add-rich-rule=‘rule family=“ipv4” source address=“YOUR_IP_ADDRESS” accept’

firewall-cmd --reload

systemctl restart firewall.service

你可能感兴趣的:(centos,tcp/ip,python)