Azure VM failing connection on Port 22 to external host with ACL receiving from different IP

Chris Westlake_A 25 Reputation points
2023-11-15T15:52:09.86+00:00

Hi, currently have an Azure VM with no PIP attempting to connect to external host on port 22, connection works on port 443, or via browser.

External host has an ACL in place which has whitelisted our public domain IP however they are receiving requests in real time from an address within 51.142.242.0/22 subnet would said address be fixed or change.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,767 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,153 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,386 questions
0 comments No comments
{count} votes

Accepted answer
  1. Joe Carlyle 661 Reputation points MVP
    2023-11-15T17:15:23.31+00:00

    If you have no PIP attached or NAT Gateway etc. it will randomly use a PIP from the range in the region, so this will change. If you need to give your external host a fixed IP for an ACL, you should assign an IP to the NIC, or create a NAT gateway for the subnet the VM is in.

    2 people found this answer helpful.

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.