virtual-machine - VirtualBox、远程桌面和 VPN

标签 virtual-machine virtualbox vpn remote-desktop

网络并不是我的强项,而且我是 VirtualBox 的新手。所以我们开始吧 -

我有一个在 VirtualBox 上运行的 Windows (XP) 虚拟机。我可以使用远程桌面连接到虚拟机,没有任何问题。

问题:我需要通过虚拟机上的 VPN 连接到另一个网络。但是,一旦连接,所有本地网络资源将变得不可用。结果,我的远程桌面 session 被断开。

问题:还有其他方法可以远程访问虚拟机吗? VirtualBox 是否可以通过某种方式将我路由到虚拟机而不使用 Windows RDC 功能,以便我可以拥有事件的 VPN 连接,但仍然可以远程控制虚拟机。

最佳答案

应该做更多研究。此功能已内置于 VirtualBox 中。您可以通过主机登录虚拟机。

您所要做的就是在虚拟机设置中打开远程显示并选择您要使用的端口(确保进行适当的防火墙更改)。然后您远程到主机上的该端口。

例如:主机的 IP 为 192.168.1.200,并且您为远程显示设置了端口 3395 - 您将打开远程桌面连接并使用 192.168.1.200:3395,它将打开虚拟机。

来自 VirtualBox 站点的更多详细信息。 http://www.virtualbox.org/manual/ch07.html

关于virtual-machine - VirtualBox、远程桌面和 VPN,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17838875/

相关文章:

linux - 在 Oracle VM Virtual Box : Failed to open the optical disk file 上安装 Ubuntu

centos - 无法更改 vagrant 主文件夹中文件夹的权限

linux - 与 Virtualbox 通信的 Windows 程序

git - 为什么我得到 Git fatal : index file smaller than expected error regularly?

Python 开发环境,如 Smalltalk

visual-studio - Azure错误: SubscriptionNotAuthorizedForImage when deploying a Visual Studio Community VM from Azure Marketplace

由于网络问题,Docker 无法使用 VPN

iphone - 当 iDevice 使用 3G/UMTS/Edge 时检测已建立的 VPN

ipad - 在 iPad 上访问本地主机

ruby-on-rails - 预配置的 Rails 开发虚拟机