Courseiva

Configure an NSG for a web subnet

about 7 minutes

Add inbound rules to the network security group on a web subnet: internet users reach the site over HTTPS (TCP 443) only; administrators connect with RDP (TCP 3389) only from the office address 203.0.113.10; traffic from inside the virtual network must keep working. Azure's default rules (shown greyed out) apply after yours. Lower priority numbers are checked first.

UsePriorityActionProtocolSourceDest. port
65000AllowVnetInBound: allow VirtualNetwork (default)
65001AllowAzureLoadBalancerInBound: allow AzureLoadBalancer (default)
65500DenyAllInBound: deny all sources (default)