Link to home
Start Free TrialLog in
Avatar of Zoldy2000
Zoldy2000Flag for Canada

asked on

Hyper-V Manager over VPN

My computer is part of the domain and when in the office I use Hyper-V manager on my local machine (windows 10 pro) to manage our Hyper-V hosts.     However when I am working out of office in my home office I connect to the office using a VPN client.    And although I have access to the servers through Remote Desktop my local Hyper-V manager will not longer connect to the servers to manage the hosts.     The error is RPC server unavailable.   I have researched this error and have yet to find the solution.
Avatar of Casey Weaver
Casey Weaver
Flag of United States of America image

Is the VPN allowing all traffic, or could it be blocking RPC ports? Is there a firewall on the hosts themselves, and if there is, are they allowing whatever IP subnet your VPN is handing out to your system, to connect to RPC on the host?
Avatar of Zoldy2000


the VPN is allowing all traffic.    The firewalls were temporarily disabled to test if this was the issue and it was not.
Have you run wire shark or another packet capture to find where the traffic has been dropped? I've seen this happen because of a bad consumer network being used to remote to the host (RPC is sensitive). Without seeing a packet capture, my guess is the host is receiving your request, but doesn't know how to get RPC traffic back to you. Is there a route on the internal network to the VPN network? A packet capture should show you where the traffic is getting dropped.
I can certainly do this and will but my assumption was since I can access and manage this server in all other aspects for example RDP then it was not a routing issue?
If the traffic is initiated from the laptop, a stateful firewall will allow the response from the server back through. However, such as with Hyper-V manager, when the response from the server comes from a different set of ports and is a different protocol all together (such as DCOM), then the firewall will block it as it appears as all together different traffic. Hyper-V manager isn't a simple send and reply command like opening a web page, there's a lot of traffic that gets initiated from both sides to run it.
should I run wireshark from the client or server
The error is RPC server unavailable.
That suggests that the ports are blocked.

It might be easier to use one of the servers you can reach as a jump server to access the other systems.  Run Remote Desktop through that.  The server should be able to connect to the server.
There is a reason I do not want use RDP then access Hyper-V that is why I need to get this working.
Use the FQDN while connected via VPN.

I am using the FQDN but thanks for the suggestion
1: Make sure the edge device on the corporate side is allowing packet flow for Hyper-V management to traverse.
2: Make sure the Windows Firewall on the Hyper-V server is not blocking incoming packets due to home subnet (Firewall on and Logging on to see).
Avatar of Zoldy2000
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial