Route traffic to the Firewall in Azure

bdporomon

Baridiilo Poromon

Posted on August 14, 2024

Route traffic to the Firewall in Azure

The first step in routing traffic to the firewall is to create a route table.

To record the private and public IP address of app-vnet-firewall, enter and select Firewall in the search bar in the Azure portal.

Select app-vnet-firewall.

Select Overview.

Record the Private IP address.

Image description

In the Overview pane select on fwpip

Record the Public IP address.

Image description

Next, In the search bar, enter and select Route table. Click + Create.

Image description

On the Basics tab, enter the required information as listed in the table below:

Property Value
Subscription -- Select your subscription
Resource group -- RG1
Region -- East US
Name -- app-vnet-firewall-rt

Image description

Select Review + create and then select Create.

Now, to associate the route table to the subnets, enter and select Route tables in the search bar.

Select app-vnet-firewall-rt.

Image description

Select Subnets.

Select + Associate.

On the Associate subnet page, enter the required information as listed in the table below:

Property Value
Virtual network -- app-vnet (RG1)
Subnet-- frontend

Image description

Select OK.

Repeat the steps above to associate the app-vnet-firewall-rt route table to the backend subnet in app-vnet.

Image description

Lastly, to create a route in the route table enter and select Route tables in the search bar.

Select app-vnet-firewall-rt.

Select Routes.

Image description

Select + Add.

On the Add route page, enter the required information as listed in the table below:

Property Value
Route name -- outbound-firewall
Destination type -- IP addresses
Destination IP addresses/CIDR range -- 0.0.0.0/0
Next hop type -- Virtual appliance
Next hop address -- private IP address of the firewall recorded earlier

Image description

Select Add.

Now the outbound traffic from the front end and backend subnet will route to the firewall.

💖 💪 🙅 🚩
bdporomon
Baridiilo Poromon

Posted on August 14, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Road to DevOps.....
devops Road to DevOps.....

August 7, 2023