How to connect multiple VM's with firewall IP.

martin 60 Reputation points
2023-12-01T07:13:16.0333333+00:00

how do 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.
8,987 questions
0 comments No comments
{count} votes

Accepted answer
  1. v-vvellanki-MSFT 4,920 Reputation points Microsoft External Staff
    2023-12-01T07:50:23.1666667+00:00

    Hi @martin ,

    Thanks for contacting 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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.