Avatar of Zoldy2000
Zoldy2000
Flag 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.
Windows Server 2012Hyper-VVPN

Avatar of undefined
Last Comment
Zoldy2000

8/22/2022 - Mon
Casey Weaver

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?
Zoldy2000

ASKER
the VPN is allowing all traffic.    The firewalls were temporarily disabled to test if this was the issue and it was not.
Casey Weaver

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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Zoldy2000

ASKER
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?
Casey Weaver

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.
Zoldy2000

ASKER
should I run wireshark from the client or server
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
serialband

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.
Zoldy2000

ASKER
There is a reason I do not want use RDP then access Hyper-V that is why I need to get this working.
Philip Elder

Use the FQDN while connected via VPN.

SERVER.DOMAIN.COM
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Zoldy2000

ASKER
I am using the FQDN but thanks for the suggestion
Philip Elder

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).
ASKER CERTIFIED SOLUTION
Zoldy2000

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question