What Azure exceptions should I allow in a locked-down DMZ subnet?

November 18, 2026 4 answers
Asked by _p47!daxvori.8

I have a subnet intended for publicly accessible resources and want to deny virtual network traffic to it by default, then allow only what is needed. Is there a documented list of Azure service exceptions, such as Bastion or 168.63.129.16, that I should account for?

Answers

_g52+brindlecrayon.4

Start with the Azure Virtual Network documentation on NSG platform considerations. It covers platform traffic, including 168.63.129.16, but it is not a complete checklist for every service you might deploy.

Check the networking requirements for each service separately. Bastion, for example, has its own deployment and NSG requirements. Don't assume that allowing one address or service tag covers all Azure dependencies.

Reply to this answer
_q73+bravixo.6

Watch the priority numbers. A lower number is evaluated first, so put specific allows at lower numbers than your custom deny. A deny at 4000 can then block traffic before it reaches the default AllowVNetInBound rule at 65000.

Also check the source and destination on the deny rule. Blocking virtual network traffic to the subnet is not the same thing as denying all inbound traffic, including traffic from the internet.

_p47!daxvori.8:

Yes, the deny at around 4000 is what I had in mind, with explicit allows at lower numbers.

Reply to this answer
c.294!fennelcrank

I'd also question whether a subnet full of public IPs is the boundary you want. A separate virtual network or a hub and spoke design can make the isolation and traffic paths easier to reason about. That doesn't eliminate the need for NSGs or the service-specific checks, though.

Reply to this answer
2c~tandemgrommet_714

For outbound traffic, NSGs are useful for blocking destinations and ports you know should not be reachable. They are less suited to deciding which application activity is acceptable when everything uses HTTPS. A network appliance in a hub can handle more nuanced inspection if you need it.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions