Virtual machines with single firewall ip

Krishnamohan Chityala 20 Reputation points
2024-05-03T10:00:56.6033333+00:00

How can we connect multiple Virtual machines with single firewall ip and how to assign each virtual machine's IP address to different users in outside.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,322 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 5,920 Reputation points
    2024-05-03T10:38:29.5333333+00:00

    Hi Krishna,

    Welcome to Microsoft Q&A platform.

    You can connect multiple Azure Virtual Machines with a single firewall IP by using Azure Load Balancer. Azure Load Balancer provides inbound NAT rules that allow you to map a public IP address and port to a private IP address and port on a virtual machine. This way, you can connect to multiple virtual machines using a single public IP address.

    To assign each virtual machine's IP address to different users outside, you can create multiple inbound NAT rules for each virtual machine. Each inbound NAT rule maps a public IP address and port to a private IP address and port on a virtual machine.

    Here is a tutorial on how to create a multiple virtual machines inbound NAT rule using Azure Load Balancer: https://learn.microsoft.com/en-us/azure/load-balancer/tutorial-nat-rule-multi-instance-portal

    Hope this helps you.