启动: systemctl start firewalld
关闭: systemctl stop firewalld
查看状态: systemctl status firewalld
开机禁用 : systemctl disable firewalld
开机启用 : systemctl enable firewalld
重启: firewall-cmd --reload
开放端口号:firewall-cmd --zone=public --add-port=3306/tcp --permanent
查看开放端口:firewall-cmd --list-all