简体   繁体   中英

How to Restrict Azure Virtual Machine for Specific Range of Public IP

My company has opened very specific IP ranges against 3389 port. So I want to get my VM public IP under those IP ranges. Azure public IP values are coming from azure and we can't choose it. So question is that can we restrict the range of public IP coming from Azure?

We can restrict private IP range using subnet / address space properties of virtual network eg (23.96.0.0/27- Host Address Range -23.96.0.1 - 23.96.0.30). But these properties haven't any impact to public IP what has assigned.

Any suggestions?

This is not possible, closest you can get - create a public ip and set it to static and allow it on firewall. It will never change.

The ips you assigned to the Vnet are for Vnet internal addresses, not external. You cannot control which external Ip you will get (when creating it).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM