参考:https://blog.csdn.net/qq_22211217/article/details/80639492
我的是用的这一条:
systemctl status firewalld.service