question

BassamElsayed-3418 avatar image
0 Votes"
BassamElsayed-3418 asked Joecarlyle answered

Problem_forward_taffic_from_Application_Gateway

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Joecarlyle avatar image
0 Votes"
Joecarlyle answered

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.