在vmware中开放VNC端口的方法 !!
时间:2015-07-24 来源:互联网 作者:秩名
1、编辑/etc/vmware/firewall/service.xml 此文来自qqaiqin.com
此文来自qqaiqin.com
vi /etc/vmware/firewall/service.xml
Q游网qqaiqin
Q游网qqaiqin
2、在该文件重中倒数第二行开始添加以下内容: 此文来自qqaiqin.com
Q游网qqaiqin
<!-- Firewall configuration information for VNC --> 此文来自qqaiqin.com
<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>
<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>
此文来自qqaiqin.com
3、执行以下命令以使配置文件生效:
此文来自qqaiqin.com
此文来自qqaiqin.com
esxcli network firewall refresh
Q游网qqaiqin
此文来自qqaiqin.com
4、查看是否已经生效: 此文来自qqaiqin.com
此文来自qqaiqin.com
esxcli network firewall ruleset list | grep VNC Q游网qqaiqin
VNC true
VNC true
此文来自qqaiqin.com
以上相关的更多内容请点击“vmware ”查看,以上题目的答案为网上收集整理仅供参考,难免有错误,还请自行斟酌,觉得好请分享给您的好朋友们!
相关阅读
热点推荐
手软教程





