Linux——Centos7如何开启防火墙端口,实现端口访问服务

开启端口:firewall-cmd --zone=public --add-port=22/tcp --permanent

重启防火墙:firewall-cmd --reload

猜你喜欢

转载自blog.csdn.net/msq16021/article/details/112965771