Create inbound SNAT Rule

Bernasconi, Sandro 0 Reputation points
2023-03-27T13:32:58.82+00:00

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.
570 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.
962 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
404 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TP 76,681 Reputation points
    2023-03-27T15:53:47.8033333+00:00

    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