摘要:
一、开启防火墙 servcie iptables start # 临时开启防火墙 chkconfig iptables on # 永久开启防火墙 二、关闭防火墙 servcie iptables stop # 临时关闭防火墙 chkconfig iptables off # 永久关闭防火墙 三、重启 阅读全文
摘要:
一、开放、关闭防火墙端口(root用户执行) firewall-cmd --zone=public --add-port=XXXXX/tcp --permanent # 开放XXXXX端口 firewall-cmd --zone=public --remove-port=XXXXX/tcp --pe 阅读全文