主机环境是UBUNTU7.4
VMware Workstation 6.0.0 bui ld-45731vmware使用NAT是通过vmnet8来是实现找到这个文件打开/etc/vmware/vmnet8/nat/nat.conf
#beupto100%longertimeout=60
[incomingtcp]
#Usethesewith care-anyonecanenter intoyourVM throughthese. . .
#FTP(both active and passive FTP isalwaysenabled)
#ftp localhost 8887
#8887=192.168.0.128:21
4660=192.168.0.128:4660
#WEB(makesurethat if youare using named webhosting, names pointto
#your host, not toguest. . .And if you are forwarding port other
#than80makesurethatyourservercopeswith mismatched port
#number inHost: header)
#lynx http://localhost:8888
#8888=192.168.0.128:80
#SSH
#ssh-p 8889 root@localhost
#8889=192.168.0.128:22
[incomingudp]
#UDP port forwarding example
#6000=192.168.0.128:6001
[incomingtcp]
TCP映射
[incomingudp]
UDP映射
举例
8889=192.168.0.128:22
保存退出重启服务
/usr/l ib/vmware/net-services.sh restart
测试ssh-p 8022 myhost.comornetstat -anpt . . . .. .. .tcp 000.0.0.0:46600.0.0.0:* LISTEN 2500.. .. .. . .http://qq.51zsk.com
本文章由51知识库整理共享 http://www.51zsk.com
弘速云怎么样?弘速云是创建于2021年的品牌,运营该品牌的公司HOSU LIMITED(中文名称弘速科技有限公司)公司成立于2021年国内公司注册于2019年。HOSU LIMITED主要从事出售香港vps、美国VPS、香港独立服务器、香港站群服务器等,目前在售VPS线路有CN2+BGP、CN2 GIA,该公司旗下产品均采用KVM虚拟化架构。可联系商家代安装iso系统。点击进入:弘速云官方网站地址...
Mineserver(ASN142586|UK CompanyNumber 1351696),已经成立一年半。主营香港日本机房的VPS、物理服务器业务。Telegram群组: @mineserver1 | Discord群组: https://discord.gg/MTB8ww9GEA7折循环优惠:JP30(JPCN2宣布产品可以使用)8折循环优惠:CMI20(仅1024M以上套餐可以使用)9折循...
hosthatch在做美国独立日促销,可能你会说这操作是不是晚了一个月?对,为了准备资源等,他们拖延到现在才有空,这次是针对自己全球14个数据中心的VPS。提前示警:各个数据中心的网络没有一个是针对中国直连的,都会绕道而且ping值比较高,想买的考虑清楚再说!官方网站:https://hosthatch.com所有VPS都基于KVM虚拟,支持PayPal在内的多种付款方式!芝加哥(大硬盘)VPS5...