allow Windows Update traffic on a Windows virtual machine (VM) in Azure without opening up all internet access, you can configure your Network Security Group (NSG) to permit traffic only to the specific IP ranges and ports used by Microsoft for Windows

Vault Service Account 0 Reputation points
2024-11-04T10:06:59.72+00:00

i want to allow Windows Update traffic on a Windows virtual machine (VM) in Azure without opening up all internet access, you can configure your Network Security Group (NSG) to permit traffic only to the specific IP ranges and ports used by Microsoft for Windows Updates.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,576 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
330 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rohith Vinnakota 1,515 Reputation points Microsoft Vendor
    2024-11-04T20:05:05.5466667+00:00

     

    Hi Vault Service Account,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Windows Update requires TCP port 80, 443, and 49152-65535.

    The IP address for the Windows Update web site constantly changes and it is not a fixed address. Also, there is no official publication of the IP addresses. We normally advise against defining IP addresses on the firewall for this purpose. Instead, we suggest either allowing all outbound connections to http & https ports.

    If you can use Service Tags instead, look for AzureUpdateDelivery tag here: https://zcusa.951200.xyz/en-us/azure/virtual-network/service-tags-overview

    User's image

     

    Cheers,

    Rohith.

    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    User's image

    1 person found this answer 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.