Azure Firewall - SNAT IP Ranges

Peter Stieber 245 Reputation points
2025-08-24T17:30:32.15+00:00

Can someone clarify why this is called SNAT private ranges? The documentation uses the word private, and the API returns a property named privateRanges.

User's image

As far as I understand, it is possible to include public CIDR ranges as well—for example, if I want to prevent SNAT for traffic destined to 20.30.0.0/24
I have tested it in LAB and SNAT is not applied when destination is 20.30.0.0/24 so it seems to work.

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
0 comments No comments
{count} votes

Accepted answer
  1. Michele Ariis 4,590 Reputation points MVP
    2025-08-24T18:59:02.33+00:00

    Hi, “SNAT private ranges” is just the list of destinations the firewall must treat as private → for those prefixes SNAT is skipped and the original source IP is preserved. The name is historical: by default the list contains the IANA private ranges (10/8, 172.16/12, 192.168/16, plus 100.64/10). The engine doesn’t enforce “private-only”: you can add any CIDR, including public ones (as you did with 20.30.0.0/24). That tells Azure Firewall “don’t SNAT when going to these addresses.”

    Use with care: skipping SNAT only works when the destination has a return route to your original source IPs (e.g., on-prem via VPN/ExpressRoute, partner prefixes reachable over a private circuit, other VNets/DMZ NVAs). If you exclude general Internet prefixes, most sites won’t be able to route replies to your private sources and flows will fail or look asymmetric.

    So: the field is called “privateRanges” because it defines addresses to treat as private (no SNAT). It’s valid to put public CIDRs there, but do it only when those “public” ranges are actually privately reachable and can route back without NAT.

    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.