【问题标题】:How to publicly access virtual windows server 2008 R2 on Ubuntu 13.10 using VMware player 6.0?如何使用 VMware player 6.0 在 Ubuntu 13.10 上公开访问虚拟 Windows Server 2008 R2?
【发布时间】:2013-10-22 08:15:35
【问题描述】:
我正在为虚拟 Windows Server 2008 R2 使用 Ubuntu 13.10 和 VMware player 6.0。我必须在 SharePoint 2010 中检查一些内容。主机和来宾都可以访问 Internet。现在我想通过互联网上的其他机器访问 SharePoint。意味着来宾虚拟 Windows Server 2008 R2 服务器必须在 Internet 上公开可见。请告诉我怎么做?
P.S:我正在使用 ADSL 互联网并且可以完全控制它的配置。我在 Ubuntu 中的 http 服务器已经可以公开访问了。
提前致谢!
【问题讨论】:
标签:
windows
ubuntu
vmware-player
【解决方案1】:
这是我为在 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 防火墙以允许连接通过它,以及配置您的路由器以转发您需要转发的端口到虚拟机
祝你好运