Permit a few sites to operate on Auze VM

Akshay Shah 1 Reputation point
2021-05-28T12:15:33.053+00:00

We want traffic blocked on our VMs and limited to only a few trusted sites. How to configure / make such a rule. A handful of 10 sites should only open from the internet on the VM and the rest should be all blocked.

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
570 questions
Azure Web Application Firewall
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,261 Reputation points Microsoft Employee
    2021-06-01T14:00:10.843+00:00

    @Akshay Shah ,

    Create Azure Firewall and configure Application rules. Do not create network allow rule for port 80, 443 as it will take effect and the application rules are not taken into effect.

    So in the Application rules, create a deny all rule with less priority and allow rules for the websites that you wish to allow with higher priority.

    It is important to force all traffic from the VM to Firewall so that Firewall can process the traffic. This can be achieved by adding route table to the VM subnet

    0 comments No comments