命令如下:
firewall-cmd --permanent --add-port=22/tcp (开放 22 端口)firewall-cmd --reload
来源: http://www.bubuko.com/infodetail-3237750.html