Questions tagged [network-security-groups]

88 questions
5
votes
2 answers

Terraform Azure network security

I'm trying to configure a network security rule for a network security group in Azure via Terraform with multiple source addresses. Based on the documentation https://www.terraform.io/docs/providers/azurerm/r/network_security_rule.html However, I'm…
5
votes
2 answers

How do I Allow Fargate cluster to access external mongodb database instance

I have built a Fargate cluster which is running my website. The service starts the task for the website properly but stops when it gets to trying to connect to my database instance. MongoError: failed to connect to server [123.456.789.0:27017] on…
4
votes
2 answers

Azure Load Balancer + NSG Rules - Remove Access Directly

I've got a networking question for one of my customers servers in the cloud. We are using just a standard 2012R2 VM with a few endpoints set up through the NSG Firewall, and we have a LoadBalancer infront of the network with a few ports forwarded to…
4
votes
1 answer

How to connect Azure Web Application (App Service/Website) to Network Security Group?

I'm not sure if I'm missing something simple, or if I'm trying to do the impossible. I have a Tomcat site deployed on Azure using the Web+Mobile App Services model. This is NOT a VM. I would like to be able to apply firewall rules (network security…
3
votes
1 answer

Whitelisting specific IP Addressess with Azure Network Security Groups

I'm trying to restrict access to endpoints on my virtual machine only to specific external IP addresses. Having looked into it I found that a Network Security Group on Azure may be appropriate. I created a network security group and attached it to…
Brian Delaney
  • 181
  • 1
  • 16
2
votes
1 answer

What NSG rules can be applied for Hub/Spoke/AppGw scenario?

I have an AppService deployed in a Spoke Vnet (with a Private Endpoint). In front of this is an AppGw (in the Hub Vnet). It seems that it's not possible to control the AppGw outbound traffic with the Azure Firewall. I would therefore like to…
2d1b
  • 595
  • 1
  • 6
  • 24
2
votes
2 answers

Getting list of NSG and corresponding Subnet or NIC

Thanks in advance. I'm working on Azure PowerShell Script which will get all the NSG and finds whether it is attached to NIC or Subnet and give the name of the same in CSV. I'm stuck in parsing the NSG as it has property SubnetsText which outputs…
2
votes
2 answers

Add NSG to Application Gateway Subnet

My requirement is simple. I need to associate NSG to the subnet containing my application gateway. As soon as I associate NSG to this subnet, I am getting connection timed out error. As per Microsoft's documentation, I added exception for port range…
Praveen
  • 231
  • 1
  • 4
  • 15
2
votes
2 answers

How do i use a Network Security Group to only allow my web app to communicate with my web service

I've got all the resources i need. I put my web service inside a app service environment, then attached the NSG to the subnet that the app service environment uses. I then allowed apps inside the VNET to communicate with the web service but it…
2
votes
1 answer

Failed to Connect to Azure Public IP/Load Balancer (Connection Refused)

I'm trying to set up a basic Azure load-balanced cluster of VMs, but am having issues accessing them outside of the virtual network that Azure creates. A sample request that I am testing with: curl http://
2
votes
1 answer

How can I create endpoints (Inbound security rules), using Azure CLI Resource Management deployment mode?

I'm looking to create endpoints (if that's what its still being called) using the Resource Management deployment mode (arm mode). I am currently using Resource Management deployment mode to create virtual machines in Azure since every article…
kimbaudi
  • 13,655
  • 9
  • 62
  • 74
1
vote
2 answers

How to create Azure VM without NSG?

I want to create a VM without nsg. In the New-AzVm cmdlet, I specify $null in the PublicIP parameter - and it works (i.e. it does not create a Public IP). But this does not work with nsg. Here is my code: $Date = Get-Date -Format "MMddyymm" $user =…
1
vote
1 answer

Adding NSG rules to enable high availability on Azure PostgreSQL Flexible Server

I am trying to enable ZoneRedundant High Availability on our Azure PostgreSQL Flexible server. The Azure documentation mentions the following important step: High availability Features of Azure Database for PostgreSQL - Flexible Server require…
x3nr0s
  • 1,946
  • 4
  • 26
  • 46
1
vote
1 answer

Can't connect to SQL Managed Instance from Azure Function App (Login timeout expired)

I'm trying to connect to a SQL managed instance from an Azure Function App written in Python. The managed instance is under a Network Security Group and has multiple Inbound-rules that controls access to it. The function app is hosted in the same…
1
vote
1 answer

NT groups in Active Directory

Is the distribution group or distro group an example of NT groups? I thought NT groups are like security groups that can be used for shared folders.
1
2 3 4 5 6