How to connect Workspace (Windows 10) to L2TP/IPSec VPN server

0

I'm trying to connect to a remote corporate NAS from my Workspace instance through a VPN. Whenever I attempt to do so - using Windows 10 VPN client configuration, the Workspace freezes. I can see there is successful authentication with the NAS device if I look at the NAS's logs. But on the Workspace, the connection attempt stops - and the Workspace completely freezes - at the "Completing connection" stage. While troubleshooting, I've disabled Windows Firewall, and modified the AWS Directory security group rules to open up the relevant ports - to no avail. Any ideas?

질문됨 2년 전734회 조회
1개 답변
1

If you look at the network interfaces on your Workspaces you will see that there are two - one which connects to your VPC and another which is used for streaming traffic (keyboard, mouse, pixels, etc. that are delivered to and from the client machine you're using to access the Workspaes instance).

When you set up a VPN connection it will (by default) send all traffic from the Workspaces instance to the VPN endpoint - this breaks the streaming traffic because that traffic must use the network interface that is designated for streaming traffic.

To resolve this you can do two things:

  • Exclude the routes used for that network interface. You can find the routes in the Windows route table by running route print
  • Set up the VPN so that you limit the access over the VPN to just the corporate NAS IP address (or another smaller set of IP addresses). Because that doesn't include the range that the streaming interfaces uses it won't interfere with that traffic.
profile pictureAWS
전문가
답변함 2년 전
  • Thanks for the info - I was able to connect to the remote NAS over VPN by limiting the route specifically for the NAS per your suggestion.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인