Azure Update Manager can't communicate with VM after routing traffic through FW

ShawnO 45 Reputation points
2025-05-23T15:30:03.35+00:00

None of my Azure VMs are communicating with Azure update manager since I setup a Fortigate Firewall in my Azure Environment routing all traffic in and out from VMs through it. I setup a route table and added one route for 0.0.0.0/0 traffic to exit out through the firewall for internet traffic. From what I can find Azure documentation says that Azure Update Manager only needs port 443 to access a few sites. https://learn.microsoft.com/en-us/azure/automation/automation-network-configuration#update-management-and-change-tracking-and-inventory . When I unassign the subnet from the route table allowing outbound traffic to go out the default route then update manager starts to work again. What do I need to do either to the route table or firewall to get this working again?

Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
376 questions
{count} votes

Accepted answer
  1. Alex Burlachenko 10,255 Reputation points
    2025-05-29T08:26:52.4366667+00:00

    Hi ShawnO i review urs issue and all comments so that’s a huge catch! and yep, u’re totally right sometimes the docs don’t keep up with reality :)

    so turns out port 80 is in play after all, at least for some ubuntu repos like azure.archive.ubuntu.com. that’s wild because the official docs swear up and down it’s all 443. but hey, real-world troubleshooting wins again! what this means for u

    firewall rules gotta allow both 80 and 443 outbound. some repos (especially linux ones) still use http for package metadata before switching to https for downloads.

    route tables if u’re still forcing traffic through the fortigate, make sure it’s not blocking or inspecting port 80 traffic. sometimes firewalls get too aggressive and kill plain http even when it’s needed.

    double-check ur logs next time something times out, peek at the firewall logs or run a tcpdump on the vm. u’ll see real fast if it’s dying on port 80.

    why this happens some linux distros (like ubuntu) still use http for repo metadata (the "what’s new?" list) before downloading packages over https. azure’s docs probably assume everything’s https-only now, but… surprise! legacy stuff hangs around forever )

    final fix update firewall rules allow outbound 80/tcp to at least

    • azure.archive.ubuntu.com
    • any other repo urls ur vms use (check /etc/apt/sources.list if ur on ubuntu). test with curl from inside the vm, try curl -v http://azure.archive.ubuntu.com if it works, u’re golden. if not, the firewall’s still blocking something.

    u just saved urself (and probably a bunch of other folks) a ton of headache. nice work spotting that

    (and hey, maybe someone should file a doc bug… just sayin’)))))

    Best regards,

    Alex

    and "yes" if you would follow me at Q&A - personaly thx.
    P.S. If my answer help to you, please Accept my answer
    PPS That is my Answer and not a Comment
    

    https://ctrlaltdel.blog/

    1 person found this answer helpful.

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.