CentOS-8 防火墙常用命令
iptables 常用命令
# 启动
systemctl start iptables
# 查看状态
systemctl status iptables
# 重新启动
systemctl restart iptables
# 停止
systemctl stop iptables
firewalld 常用命令
# 启动
systemctl start firewalld
# 查看状态
systemctl status firewalld
# 重新启动
systemctl restart firewalld
# 停止
systemctl stop firewalld
