An Azure network security service that is used to protect Azure Virtual Network resources.
Hi @ Lou Feliz,
Welcome to Microsoft Q&A Platform.
It looks like your VM is still receiving inbound traffic on the assigned static public IP, but the outbound traffic is being SNATed to a different Microsoft-owned IP. This typically happens when egress traffic is routed through Azure Firewall or when relying on Azure’s default outbound connectivity, instead of using an explicit outbound configuration tied to the VM’s public IP.
By design, Azure Firewall SNATs outbound connections to one of its own public IPs (or to the default Azure cluster IP) unless a specific NAT or outbound rule is configured.
Here are a few things you can check:
- Verify the VM’s NIC still has the static public IP attached: In the Azure portal: Go to VM → Networking → Network interface → IP configurations: Confirm that your intended Public IP address is still associated with the NIC.
- Check the subnet’s outbound configuration: If the subnet does not have a NAT Gateway attached, Azure Firewall or Azure’s default outbound connectivity will perform SNAT. Go to: Virtual networks → Subnets → Select the subnet: Verify whether a NAT Gateway is attached.
- Attach a NAT Gateway for predictable outbound IP: Create or use an existing NAT Gateway with your reserved public IP(s), and associate it with the VM’s subnet. All outbound traffic will then use that IP. Ref: https://docs.microsoft.com/azure/nat-gateway/nat-overview
- Configure Azure Firewall SNAT to use your public IP: In Azure Firewall → Public IP configuration, ensure that your reserved public IP is used for SNAT. If multiple public IPs are configured, Azure Firewall may round-robin SNAT across them.
(Alternative) Use a Standard SKU Public IP on the VM NIC: When a Standard SKU public IP is attached directly to a NIC, Azure disables default outbound access and forces outbound traffic to use that IP.
Ref: https://docs.microsoft.com/azure/virtual-network/public-ip-addresses
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.