[root@localhost ~]# systemctl start firewalld.service
[root@localhost ~]# systemctl enable firewalld.service (设置成开机启动)