alan-turing-institute / learn-azure

Repository for generalised learning materials on Azure
8 stars 2 forks source link

How to override network security group rules? #18

Closed fedenanni closed 4 years ago

fedenanni commented 4 years ago

I'll drop the question here as it's something I am currently blocked on, which I will probably find a way to solve in the next hours (it might be something super simple, but no idea), but maybe not with an ideal solution.

I want to allow internet connection to our Safe Haven VM for installing azcopy and blobfuse. To change the security rules I am following these pages:

  1. Network security groups
  2. Tutorial: Filter network traffic with a network security group using the Azure portal

The default NSG rules were:

Screenshot 2020-04-22 at 09 22 47

What I added, just to force the situation and allow all internet connections was:

Screenshot 2020-04-22 at 09 20 02

However, my VM still doesn't have any internet connection. Issues that I have in mind:

  1. My rules don't really override the default ones
  2. There's something else that I need to change in Azure that I don't know
  3. I should restart the VM to make this happen (I don't think so, but boh)
fedenanni commented 4 years ago

Found the issue, I was in the wrong NSG, lol

sgibson91 commented 4 years ago

Making sure you're manipulating the right resources is always an interesting gotcha in Azure! Closing this for now :)