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

1 answer

Sort by: Most helpful
  1. TP 89,091 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


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.