Questions tagged [azure-nsg]

Network Security Groups (NSG) filters network traffic to and from Azure resources in an Azure virtual network. A Network Security Group(NSG) contains security rules that allow or deny inbound network traffic to, or outbound network traffic from, several types of Azure resources. For each rule, there are source and destination, port, and protocol.

A Network Security Groups (NSG) controls the network traffic to and from Azure resources in an Azure virtual network. A Network Security Group(NSG) contains security rules that allow or deny inbound network traffic to, or outbound network traffic from, several types of Azure resources.

Network security group security rules are evaluated by priority using the 5-tuple information (source, source port, destination, destination port, and protocol) to allow or deny the traffic. Each rule is specified with following propertie

  • Priority: A number between 100 and 4096. Rules are processed in priority order, with lower numbers processed before higher numbers, because lower numbers have higher priority. Once traffic matches a rule, processing stops. As a result, any rules that exist with lower priorities (higher numbers) that have the same attributes as rules with higher priorities are not processed.
  • Source or destination: Any, or an individual IP address, classless inter-domain routing (CIDR) block (10.0.0.0/24, for example).
  • Protocol: TCP, UDP, or Any, which includes TCP, UDP, and ICMP. You cannot specify ICMP alone, so if you require ICMP, use Any.
  • Direction: Whether the rule applies to inbound, or outbound traffic.
  • Port/Port Range: You can specify an individual or range of ports. For example, you could specify 80 or 10000-10005. Specifying ranges enables you to create fewer security rules.
  • Action: Allow or deny

By default for any port, NSG allows all traffic from Virtual network to Virtual Network, allows all traffic from AzureLoadBalancer to any host and denies all traffic from any other source to any host.

115 questions
0
votes
1 answer

Adding new security rule to Network Security group in Azure through Java SDK

I am trying to add a custom security rule to one of my network security groups through Java SDK API. The code I am using is below (taken from reference): NetworkSecurityGroup nsg = azure.networkSecurityGroups().getById(nsgID); nsg.update() …
0
votes
1 answer

How to expose HTTP port on azure VM

I am trying to expose port 7445 on my azure VM for HTTP (not HTTPS) requests, I have added an inbound rule for this port still cant access it. Can any one have idea what I am doing wrong? below is the screen shot of my inbound port rule I have…
0
votes
1 answer

Limit access to IP address on azure vm after a Limit

We have a Virtual machine on azure on which a web service is running. Since last few days there is constant over 1000 request from a single ip on the vm due to which the vm responds very slow or sometimes stop. Is there any feature in azure portal…
0
votes
1 answer

IP range of azure public IP

I am introducing an NSG on subnet level where it is required to allow traffic coming from other azure vms and block the rest traffic coming from internet. Other vms may be in same vnet or may not be. But I am using public IP to establish connection…
-1
votes
1 answer

Azure Firewall Arquitecture

I have a project where i need to deploy an Azure firewall so there are some questions of better practice that i need to resolve before. Is it correct that App Gateway or Api Magament Service be inside a NSG? would this cause any issue? App Gateway…
Miguel Cuba
  • 29
  • 1
  • 4
-1
votes
1 answer

To enable pings between 2 VMs in a subnet, Should I configure an inbound or outbound rule in an Azure Network Security Group?

I have 2 virtual machines (say 'A', 'B') in a subnet within a virtual network. In the future, I can have multiple VMs in the same subnet. I want to ensure that only virtual machine 'A' can ping 'B'. Should I create an Inbound security role in the…
Nithin
  • 45
  • 7
-1
votes
1 answer

NSG rule across subscription in azure via terraform

#provider azurem.mgmt is Subscription A. #prodiver azurem.corpapps is Subscription B. I am trying to create nsg rule in Subscription A with Provider azurerm.mgmt. Here the destination application security group is in Subscription B with Provider…
-1
votes
1 answer

Azure outbound traffic is being blocked

I have setup a few VM's and a load balancer so that we can have one outgoing IP. Right now i am having issues to connect to the internet from inside my VM. If i open internet explorer and try to access a website, it shows waiting for reply and then…
-1
votes
1 answer

Azure AKS Network Analytics- where are these requests are coming to Kubernetes Cluster?

I am little but puzzled by Azure Network Analytics! Can someone help resolving this mystery? My Kubernetes cluster in Azure is private. It's joined to a vNET and there is no public ip exposed anywhere. Service is configured with internal load…
Prodip
  • 436
  • 8
  • 21
-1
votes
1 answer

Azure ASG internal connectivity

I created an application security group, assigned it to two VMs and there is a lot more in that resource group but my question is when I RDP into one of the VMs, I cannot ping the other VM and or reach a website hosted on the other VM. Plus because…
Anand
  • 1,165
  • 10
  • 18
1 2 3 4 5 6 7
8