Share via

Create inbound SNAT Rule

Bernasconi, Sandro 0 Reputation points
Mar 27, 2023, 1:32 PM

Is there a way to configure a inbound source NAT rule with some azure service like Azure Load Balancer or similar?

Public IP addr. -> Private IP addr. -> virtual Machine.
So that the packets arriving at the Virtual Maschine do have the private IP address as the source IP address instead of the public IP address.

Thanks!

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
736 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,157 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
494 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TP 113.1K Reputation points
    Mar 27, 2023, 3:53 PM

    Hi,

    Azure Application Gateway is correct for your needs based on your description. The incoming requests would be received on the Application Gateway's public listener and then a new TCP connection would be created to the VM and the original request would be sent. The source IP would be the gateway's private IP address.

    How an application gateway works

    https://learn.microsoft.com/en-us/azure/application-gateway/how-application-gateway-works

    If the above was useful please click Accept Answer.

    Thanks.

    -TP


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.