I need to add a group of IP addresses – call it 18.104.22.168 through 22.214.171.124 inclusive – to an Azure NSG. We have port 3389 open to the public for the VMs behind an NSG, so it needs to be locked down to allow that range (our office) to RDP to it. If I just change the dropdown to IP Address and enter 126.96.36.199-188.8.131.52, the Azure portal errors out that the address is malformed.
I don’t need to whitelist the entire CIDR range, just those 22 addresses.
I saw a few mentions for doing ports through the Azure CLI/Powershell, but I figured it was worth asking in case I missed something.