手机
当前位置:查字典教程网 >操作系统 >其它系统 >在vmware中开放VNC端口的方法
在vmware中开放VNC端口的方法
摘要:1、编辑/etc/vmware/firewall/service.xmlvi/etc/vmware/firewall/service.xml...

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

vi /etc/vmware/firewall/service.xml

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

<>

<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

【在vmware中开放VNC端口的方法】相关文章:

Suse系统中启动Apache和Mysql的方法

CMD命令行中cd命令使用方法

使用证书登录服务器的方法介绍

去除Mac OS X 弹性滚动效果的方法介绍

将Vmware的镜像格式转换为Virtualbox的镜像格式的方法

VMware虚拟机安装与使用方法

Debian中设置locale的方法小结

开机速度慢?加快开机速度的图文方法介绍

复制“弹出警告窗口”的文字方法介绍

Linux环境下MySQL服务器优化的方法详解

精品推荐
分类导航