Need valid business use cases/scenarios to test Azure firewall & NSG rules

Ananya Sarkar 311 Reputation points
2020-12-02T17:59:54.773+00:00

Hi,

I am exploring Azure firewall & NSGs and looking for some FW (NAT/Network/Application) & NSG (inbound & outbound) rules that are used in real business, which I can use in my testing and also can expect related logs on these.
Can you plz provide some valid business use cases & related environment setup for these? If i get microsoft test plan for this, it will be really helpful.

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

Accepted answer
  1. SaiKishor-MSFT 17,216 Reputation points
    2020-12-03T19:55:20.007+00:00

    @Ananya Sarkar

    Azure Firewall is a highly available, managed firewall service that filters network and application level traffic. It has the ability to process traffic across subscriptions and VNets that are deployed in a hub-spoke model. It has the following rule types:

    • Application Rules can be used to restrict/allow traffic to certain websites using the FQDN. (example: some businesses can decide to block traffic to amazon.com)
    • Network rules do the same but using IP/Port (you can decide to block traffic to a certain IP range)
    • NAT rules can be used to implement Destination NAT rules or SNAT rules for example you can setup a destination NAT rule for RDP port 3389 to be translated from firewall public IP to the private VM on the same port This will let you RDP into the private VM on the given port using the firewalls public IP. Example as given here..
    • Here is a use case for Azure firewall as given in the Azure blogs.

    Azure NSG rules are basic network layer filtering used to allow/restrict traffic to/from Azure resources.

    • If you are looking to allow/deny traffic to/from certain IPs/Ports.
    • You can implement NSGs to allow traffic from vnets whereas block all internet traffic (A lot of customers implement this setup for a private VNET)
    • You can also implement it to allow traffic to your web applications access to only a certain number of users using their IPs or IP ranges and block all others.
    • Here is a use case for NSGs given in the Azure Blog for your reference.

    Here is an article on Azure Firewall vs Azure NSGs that explain the different features of both of them and how/when they can be used.

    Hope this clears up some questions that you have. If you need any further assistance, please let us know and we will be glad to assist further. Thank you!

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Ananya Sarkar 311 Reputation points
    2020-12-03T14:26:23.687+00:00

    @suvasara-MSFT , Can you plz help on this?

    0 comments No comments

  2. Ananya Sarkar 311 Reputation points
    2020-12-04T15:57:45.51+00:00

    @SaiKishor-MSFT , Thank you so much for this great info.

    0 comments No comments