How to check any firewalls rules for Virtual network and VM

sns 9,246 Reputation points
2023-12-15T17:39:24.6466667+00:00

How to check any firewalls rules for Virtual network?

I have tried to install crowd strike on one linux VM from one subscription it worked ( this is differet virtual network)

I have tried to install same package of crowd strike from another VM for other subscription. It failed with below error. what could be the issue? and how to check whether any firewall blockage ? ( this is different virtual network and different subscirption

I heared it is associated with HUb network where it has got firewalls.

But what are all need to check. Please suggest

Error:

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 49,536 Reputation points Microsoft Employee Moderator
    2023-12-21T10:27:28.22+00:00

    @sns

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you are unable to install a package on a Linux VM and would like to know if Azure platform might be blocking the connection.

    From the error message, it appears connection time out is issued for the site,

    "https://rhui4-1.microsoft.com/pulp/repos/content/dist/rhel9/rhui/9/x86_"

    From the tests, we found out the VM does not have a DNS server configured at all.

    • deally, this is how a DNS lookup output should appear for a Linux Distros
      • User's image
    • The 127.0.0.53 IP used here refers to a service running locally on your linux VM taking care of DNS.
    • Since you are not getting a DNS server, you should manually add a DNS server.
    • Run sudo vi /etc/resolv.conf
    • Add a line nameserver 168.63.129.16 after the comments.
      • User's image
    • Save and close the file
    • Now DNS resolution will use Azure Wireserver IP and would look like below
      • User's image

    You informed us the issue has been resolved now.

    Kindly let us know if this helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.