关闭防火墙,依次执行以下四条命令
关闭防火墙服务 service firewalld stop
防火墙自动关闭 chkconfig iptables off
列出所有规则 iptables -L
清除所有规则,可能会导入一下启动程序失效,需要重启失效的程序,比如docker iptables -F
关闭防火墙,依次执行以下四条命令
关闭防火墙服务 service firewalld stop
防火墙自动关闭 chkconfig iptables off
列出所有规则 iptables -L
清除所有规则,可能会导入一下启动程序失效,需要重启失效的程序,比如docker iptables -F
转载于:https://www.cnblogs.com/taopanfeng/p/11133205.html