As this is not with Azure VPN Gateway, but with Docker and Windows, your best bet is to follow up with those services.
Access remote desktop via VPN running on docker container
Hello All,
Docker for Desktop is running on my MAC PC
I have a docker container which has the VPN running with port 22 on container exposed to host PC as 40022, so I could SSH to the hosts on the VPN network using the container as jump host.
I also have the requirement to access the remote desktop running on the host over VPN network, for this I have also exposed both the ports 3389, 5901 on container as 40023 and 40024 respectively.
Now I tried to access a Windows PC using the Microsoft Remote Desktop application with Gateway set as localhost:40023 or 40024 but not possible.
However I can access the remote desktop when connected to VPN directly (without container as gateway) on my MAC PC
Please let us know if there is a way to achieve this ?
Thanks,
Rajesh Badveti
1 answer
Sort by: Most helpful
-
TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
2020-07-18T02:18:46.14+00:00