主机环境是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
ttcloud怎么样?ttcloud是一家海外服务器厂商,运营服务器已经有10年时间,公司注册地址在香港地区,业务范围包括服务器托管,机柜托管,独立服务器等在内的多种服务。我们后台工单支持英文和中文服务。TTcloud最近推出了新上架的日本独立服务器促销活动,价格 $70/月起,季付送10Mbps带宽。也可以跟进客户的需求进行各种DIY定制。点击进入:ttcloud官方网站地址TTcloud拥有自...
Krypt这两天发布了ION平台9月份优惠信息,提供一款特选套餐年付120美元(原价$162/年),开设在洛杉矶或者圣何塞机房,支持Windows或者Linux操作系统。ion.kryptcloud.com是Krypt机房上线的云主机平台,主要提供基于KVM架构云主机产品,相对于KT主站云服务器要便宜很多,产品可选洛杉矶、圣何塞或者新加坡等地机房。洛杉矶机房CPU:2 cores内存:2GB硬盘:...
OneTechCloud发布了本月促销信息,全场VPS主机月付9折,季付8折,优惠后香港VPS月付25.2元起,美国CN2 GIA线路高防VPS月付31.5元起。这是一家2019年成立的国人主机商,提供VPS主机和独立服务器租用,产品数据中心包括美国洛杉矶和中国香港,Cera的机器,VPS基于KVM架构,采用SSD硬盘,其中美国洛杉矶回程CN2 GIA,可选高防。下面列出部分套餐配置信息。美国CN...