29.3 C
Dubai
Friday, April 26, 2024

Restricting App Service through Application Gateway

Let’s restrict app service to connect only through the app gateway, Considering Custom Domain is Added with SSL
Choose Networking and Configure Outbound Traffic with VNet Integration. See Application Gateway Web Application Firewall Configuration if needed

Choose the Appropriate Subnet for Outbound Traffic.

Outbound Traffic with VNet Integration is enabled

Now choose Unmatched Rule Action to Deny

Add and Allow only Application Gateway Subnet to work

Choose Continue

Traffic to unmatched rules to the main site will be denied.

Now Access Restrictions are in Place for Inbound and Outbound Traffic only through Application Gateway.

Now you can see App Service is Accessible only through the Application gateway and not direct (Error 403 – Forbidden)

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?