本文介绍了加入VPN后AWS RDP连接断开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Amazon EC2实例中运行的Windows Server 2012我使用RDP连接到该实例。

I have an Amazon EC2 Instance running Windows Server 2012. I connect to the instance using RDP.

从RDP,我无法连接到VPN。

From RDP, I'm unable to connect to the VPN.

其实,我觉得我越来越连接到VPN,立刻,我失去了RDP连接。

I actually think I'm getting connected to VPN, and immediately, I lose the RDP connection.

我无法通过RDP重新连接到实例,除非我重新启动实例。但是,如果我重新启动的情况下,我失去了VPN连接。

I cannot reconnect to the Instance through RDP unless I reboot the instance. But, if I reboot the instance, I lose the VPN connection.

这是发生每次。

上,如果在所有有可能从RDP连接到VPN在AWS上的任何想法。

Any thoughts on if at all it is possible to connect to VPN from RDP on AWS.

推荐答案

您的问题是AWS服务器的公网IP​​地址,不再到达当您启动VPN。你需要的是一个VPN隧道分离异常的源IP地址(例如,你启动RDP会话......不是AWS IP ... presumably这个RDP会话从印度发起的IP地址);然而,拆分隧道通常只由VPN管理员配置。

Your problem is that the AWS server's public IP address is no longer reachable when you start the VPN. What you need is a VPN split-tunneling exception for your source IP address (i.e. the IP address where you initiate the RDP session... not the AWS IP... presumably this RDP session is initiated from India); however, split-tunneling is normally only configurable by the VPN administrator.

如果您的管理员允许拆分隧道,那么你也许能说服他们帮助你完成这项工作。

If your administrator allows split-tunneling, then you might be able to persuade them to help you make this work.

另一种方法是完全抛弃AWS和去与托管服务,提供基于IP的KVM访问托管的机器;这将允许你启动Windows计算机内的VPN和使用KVM IP地址进行管理,而你通过VPN已连接。可悲的是 AWS似乎并没有提供KVM服务

Another alternative is to ditch AWS altogether and go with a hosting service that offers KVM over IP access to the hosted machine; this would allow you to start a VPN within the windows machine and use the KVM IP address for management while you're connected via VPN. Sadly AWS does not seem to offer KVM services.

这篇关于加入VPN后AWS RDP连接断开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 07:05