Public IP to access HyperV on Azure Windows VM

Azure 21 Reputation points
2021-07-20T16:57:54.517+00:00

Public IP to access HyperV on Azure Windows VM

this works on site but not in Azure, i cannot let the public ip port forward to the hyperv on the azure VM

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,798 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,591 Reputation points Microsoft Employee
    2021-07-27T19:31:17.643+00:00

    Hello @Azure ,

    Apologies for the delay in response.

    Hyper-V NAT switches do not come with any NAT rules by default. This means no traffic can route from inside the NAT IP range to an outside IP range and vice versa. This basically means any VM on the NAT IP range is unable to communicate with any VM, Server, or network device outside of the NAT IP range. They even are unable to communicate on the internet. A solution to this is to configure NAT networking so that VMs can access the Internet with the host NATed public IP and also routing to enable connectivity to other VMs in Azure.

    Reference : https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization#networking-options
    Some blog articles for futher reference :
    https://azurecloudai.blog/2019/12/16/how-to-enable-internet-and-vnet-connectivity-for-nested-vms-in-azure/
    https://www.thomasmaurer.ch/2017/07/how-to-setup-nested-virtualization-in-microsoft-azure/

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.