Problem_forward_taffic_from_Application_Gateway

Bassam Elsayed 1 Reputation point
2021-04-28T18:39:49.767+00:00

I have configured an App gateway with 2 backend pools (stagingv&vproduction) each pool has 1 VM each VM has a public and private IP address.

We have provided third parties companies with the public IP address of the APP gateway to white list

we hosted application on staging VM which will communicate with third party to process request . The third party whitelisted the APPgateway IP address. Now after accessing our API it should communicate with the third party API but we are receiving unauthorized access response . I guess the VM is communicating directly with its public IP address which is not whitelisted . How to solve it and force the VM to forward the traffic using Application gateway

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
558 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Joe Carlyle 331 Reputation points Microsoft MVP
    2022-08-09T14:37:59.247+00:00

    Hi,

    A VM cannot use an App Gateway for outbound NAT.

    The App Gateway IP would only work for inbound requests initiated by your third parties.

    So they will have to whitelist the IP attached to your VM, or could you look at using NAT Gateway.

    Joe

    No comments