Connect via the Internet to Hyper-V Manager on Hyper-V Server 2012 r2

Posted on 2013-11-27
Medium Priority
Last Modified: 2014-11-12
I need to connect to a Workgroup Hyper-V server 2012 r2 host at a clients site via their static IP, using Hyper-V Manager and Server Manager too if possible.
I've forwarded port 5985 on their router to the internal IP of the Hyper-V host.

I can connect via their local network using my laptop but am having trouble over the Internet remotely.  I've added their static IP and also DNS entry using the "Set-Item wsman:\localhost\Client\TrustedHosts Server01 -Concatenate -Force" command.
I'm using the same laptop that connects on their local network.

As I can already connect on their internal network the host/firewall etc is all ok.

Question by:Ace-IT
  • 2
  • 2
LVL 78

Expert Comment

by:Rob Williams
ID: 39682726
Some protocols are not routable over the Internet and there are major security concerns with even trying to do so.  You would be best to create a VPN and use the system (RSAT) tools using the VPN connection.

Author Comment

ID: 39682768
Yep I'm using the RSAT tool locally but it would be good to get straight to the Host over the net as per Vshpere.
I'd rather just make changes to a guest via the Hyper-V manager GUI without being on site or remoting into a local workstation.

As this is only a small 5 user site I'd rather not set up a VPN etc and would just open the firewall/port when needed and close it afterwards.

So back to the original qtn, can RSAT connect over the net directly?

LVL 78

Accepted Solution

Rob Williams earned 2000 total points
ID: 39682803
To the best of my knowledge you cannot do so over the Internet.  Though RSAT uses HTTP over port 5985, you also have to consider authentication, DNS, routing, and more.  I would have serious security concerns about doing so, even if it were possible.   A simple Windows PPTP VPN, will offer some basic security, involve no cost, and only takes a few minutes to set up.

If not familiar with the process, though I have not yet done so on 2012 R2, I have blog'd about doing so on previous versions and the same process should apply:

Author Comment

ID: 39682809
Thanks RobWill.  I will definitely give up on the direct connection idea and use a VPN.  The security issue that you raised is very important and thanks for highlighting that.

Also if anyone is interested in what looks like a great local "free" GUI to run on a Hyper-V host, Probus-IT Hyper-V Manager seems to do the trick very well.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question