摘要: 一、开启防火墙 servcie iptables start # 临时开启防火墙 chkconfig iptables on # 永久开启防火墙 二、关闭防火墙 servcie iptables stop # 临时关闭防火墙 chkconfig iptables off # 永久关闭防火墙 三、重启 阅读全文
posted @ 2021-02-24 10:01 夏圈圈儿 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 一、开放、关闭防火墙端口(root用户执行) firewall-cmd --zone=public --add-port=XXXXX/tcp --permanent # 开放XXXXX端口 firewall-cmd --zone=public --remove-port=XXXXX/tcp --pe 阅读全文
posted @ 2021-02-24 09:48 夏圈圈儿 阅读(219) 评论(0) 推荐(0) 编辑