Creating inbound NAT rules
Inbound Network Address Translation (NAT) rules are an optional setting in Azure Load Balancer. These rules essentially create another port mapping from the frontend to the backend, forwarding traffic from a specific port on the frontend to a specific port in the backend. The difference between inbound NAT rules and port mapping in load balancer rules is that inbound NAT rules apply to direct forwarding to a VM, whereas load balancer rules forward traffic to a backend pool.
Getting ready
Before you start, open the browser and go to the Azure portal via https://portal.azure.com.
How to do it...
In order to create a new inbound NAT rule, we must do the following:
- In the Azure portal, locate the previously created load balancer (either internal or public).
- In the Load balancer pane, under Settings, select Inbound NAT rules. Select Add to add a new inbound NAT rule:
Figure 10.12: Adding an inbound NAT rule for an existing load balancer
...