service iptables status 查看防火墙状态 service iptables start 开启防火墙 service iptables stop 关闭防火墙 service iptables restart 重启防火墙 防火墙开放特定端口 文件/etc/sysconfig/iptables 添加端口 重启防火墙 禁止某个IP访问 iptables -A INPUT -p tcp -s 192.…
[Solution] Update firewall policy 1) Disabled docker rules of iptables --- docker will create rules of iptables automatically. # vim /etc/docker/daemon.json 1) Add masquerade to public zone # firewall-cmd --permanent --zone=public --add-ma…