We have followed the instuctions in https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-nat-gateway several times without getting it to work (it changes outbound IP-address).
We have:
All resources are setup in region "West Europe". Does anyone have a clue or insights on why this should not work?
Kind of embarrassing - but it turned out that one should not use whatsmyip.org from scripts/bots - since it then returns bogus ip-addresses. Using https://ifconfig.me showed that this worked all the time.
Thanks to Matt Douhan for pointing me in the right direction by verifing that the NAT Gateway actually got the traffic
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.