- Azure for Architects
- Ritesh Modi
- 93字
- 2021-07-02 13:17:07
Port forwarding
At times, there is a need for a request to always redirect to a VM. The Azure load balancer helps us achieve this with the NAT rules. NAT rules are evaluated after load-balancing rules are evaluated and none of these rules are satisfied. NAT rules are evaluated for each incoming request and, once it finds them, it forwards the request to that VM through a backend pool. It is to be noted that a VM cannot register the same port for both port forwarding using NAT and load-balancing rules.