在vmware中开放VNC端口的方法

2023-12-05 0 546

1、编辑/etc/vmware/firewall/service.xml

复制代码代码如下:vi /etc/vmware/firewall/service.xml

2、在该文件重中倒数第二行开始添加以下内容:

复制代码代码如下: <!– Firewall configuration information for VNC –> <service id=\’0040\’> <id>VNC</id> <rule id=\’0000\’> <direction>inbound</direction> <protocol>tcp</protocol> <porttype>dst</porttype> <port> <begin>40000</begin> <end>60000</end> </port> </rule> <enabled>true</enabled> <required>false</required> </service>

3、执行以下命令以使配置文件生效:

复制代码代码如下: esxcli network firewall refresh

4、查看是否已经生效:

复制代码代码如下: esxcli network firewall ruleset list | grep VNC VNC true

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 其它系统 在vmware中开放VNC端口的方法 https://www.u-9.cn/system/qtos/89587.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务