5

I have a Host with VirtualBox installed and Guest installed (both with Windows XP SP3). I do have connection between them. And also the guest have an internet connection. I can connect via Remote Desktop Connection from Host to Guest, but I also want to be able to connect to Guest from any other PC. If can, how to achieve this?

Guest is using 2 network adapters, one NAT for sharing the internet connection and then one Host-only to be able for both machines to see each other on the local network.

4

1 回答 1

6

假设您有一个 Internet 路由器可以访问您的 ISP...

  1. 将 VM 网络从 NAT 更改为桥接。
  2. 检查来宾在重新启动后是否仍具有 Internet 连接或ipconfig /renew.
  3. 配置路由器给访客一个固定的IP地址。(通常,访客仍然可以使用 DHCP,但路由器配置为每次都为访客提供相同的 IP 地址。)
  4. 确定与来宾连接所需的端口和协议。例如,远程桌面的端口 3389 (RPD) 上的 TCP。
  5. 配置路由器的“端口转发”功能,将外部连接路由到访客的 IP 地址。您可以为外部连接指定不同的端口,但这可能无法通过远程计算机与其 ISP 之间的防火墙。
  6. 确定 Internet 路由器的外部 IP 地址。
  7. 从远程计算机连接到 IP 地址和指定端口。
于 2013-07-22T01:40:00.780 回答