如何使用 VMware player 6.0 公开访问 Ubuntu 13.10 上的虚拟 Windows Server



我正在使用Ubuntu 13.10和VMware player 6.0进行虚拟Windows Server 2008 R2。我必须在SharePoint 2010中检查一些内容。主人和客人都可以上网。现在我想通过互联网中的其他机器访问SharePoint。表示来宾虚拟 Windows 服务器 2008 R2 服务器必须在互联网上公开可见。请告诉我怎么做?

PS:我正在使用ADSL互联网,并可以完全控制配置它。我在 Ubuntu 中的 http 服务器已经可以公开访问。

提前感谢!

以下是我在 Ubuntu Server 13.04 上运行 VirtualBox 以托管 Windows 虚拟机所做的工作。 我相信这将与您的情况相似

首先,请确保将 PCNet 以太网用于虚拟机。

接下来修改您的网络:

nano /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto br0
iface br0 inet static
address 192.168.2.98 #<- Change this to the internal IP address of your Ubuntu box
netmask 255.255.255.0
network 192.168.2.0 #<- Change this to the internal network
broadcast 192.168.2.255 #<- Change this to the internal IP address of your Windows VM
gateway 192.168.2.1 #<- Change this to your gateway
bridge_ports eth0
bridge_stp off
bridge_maxwait 5

然后,您需要确保 Windows 中的网络配置为静态,然后需要配置 Windows 防火墙以允许连接到它,并将路由器配置为转发需要转发到 VM 的端口

祝你好运

相关内容

最新更新