Share via

Virtual machine related issue

baskar bas 0 Reputation points
2023-02-20T14:22:32.2566667+00:00

Hi sir 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.


1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,862 Reputation points Microsoft Employee Moderator
    2023-02-22T00:11:57.51+00:00

    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
    Let me know if that works for you. If you have further questions/concerns, let me know in the "comments". That's the fastest way to reach me. Thank you.

    Was this answer helpful?

    0 comments No comments

Your answer

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