Is Application gateway with WAF send outbound traffic to internet?

Mahavir Saroj 246 Reputation points
2024-03-15T13:56:09.7+00:00

Hi Team,

We are going to deploy Application gateway with WAF in the HUB. We don't have Azure firewall in HUB.

I am uncertain about which path outgoing (Internet traffic) traffic will take if traffic is originating from a back-end poll server (spoke). Is Azure firewall is required or Appgateway with WAF will take of outgoing traffic.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,136 questions
{count} vote

Accepted answer
  1. ChaitanyaNaykodi-MSFT 27,121 Reputation points Microsoft Employee
    2024-03-15T20:44:43.8333333+00:00

    @Mahavir Saroj

    Thank you for reaching out.

    Based on your question above.

    I am uncertain about which path outgoing (Internet traffic) traffic will take if traffic is originating from a back-end poll server (spoke). Is Azure firewall is required or Appgateway with WAF will take of outgoing traffic.

    Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications.

    Now as only Azure Application gateway WAF is deployed in the Hub the outgoing traffic originating from the back-end pool server (spoke) to the internet will not go via App Gateway's public IP as it is only meant for Inbound traffic.

    If there is a Public IP assigned to back-end pool server, the outgoing traffic to internet will use this IP address. If there is no public IP assigned to the back-end pool server (spoke) the outgoing traffic will go to the internet using default outbound IP address.

    Deploying an Azure Firewall in this scenario is a good idea as you can use the Outbound TLS Inspection feature of the firewall to inspect the outbound traffic originating from backend server.

    This scenario of deploying Azure Application gateway along with Azure Firewall is described in this guide here.

    For parallel implementation this will be the traffic flow.

    User's image

    User's image

    It will also help if you could go through this guidance for Hup and spoke topology for Azure Firewall and Application Gateway.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Thin Aung 0 Reputation points
    2025-03-05T22:27:06.54+00:00

    I have a similar question too. Our application is hosted in AKS and proxying thru App Gateway. We would like to enable WAF to lock down some of the traffic. The clients from internet and they are connecting thru https. We are trying to understand the pricing for WAF and wondering if we need to calculate only inbound traffic or do we need to consider for outbound traffic rate too as most of our clients are request reply type traffic.

    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.