卸载Firewall ID,重装IPTABLES:先停止服务
systemctl stop firewalld
systemctl mask firewalld
 
yum install iptables-services
 
开机启动IPTABLES:
systemctl enable iptables
 
管理服务
systemctl [stop|start|restart] iptables
 
开放端口: 
/sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT

永久保存IPTABLES设置:
service iptables save

相关文章:

  • 2021-05-27
  • 2022-02-08
  • 2022-12-23
  • 2021-10-27
猜你喜欢
  • 2018-10-05
  • 2021-12-05
  • 2022-01-08
相关资源
相似解决方案