Unexpected Network Traffic Reaching VM Despite NSG Configuration in Azure

najla.mazouz@vneuron.com 5 Reputation points
2025-02-12T20:30:27.2933333+00:00

We are experiencing an issue where network traffic is reaching our Virtual Machine, even though our Network Security Group (NSG) is configured to block this traffic. For example, traffic on port 80 is being logged by UFW on the VM, despite the NSG rules explicitly denying this port.
Configuration Details:

  • NSG rules are set to deny all incoming traffic on port 80.
  • UFW on the VM confirms that traffic on port 80 is being blocked, but it still shows incoming packets. Issue:
    • We observe incoming traffic on port 80 in the VM logs.
    • This occurs even when the NSG configurations should be blocking it.
    • This raises questions about the efficiency of the NSG

--Why is traffic reaching the VM despite the NSG rules?

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
132 questions
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
718 questions
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,637 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,491 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.