1. 程式人生 > >CentOS7下firewall批量開放埠

CentOS7下firewall批量開放埠

firewall-cmd --permanent --zone=public --add-port=100-500/tcp
firewall-cmd --permanent --zone=public --add-port=100-500/udp
firewall-cmd --reload