Home

Can Azure Application Gateway use for traffic from onpremise to Web servers in Azure?

%3CLINGO-SUB%20id%3D%22lingo-sub-878021%22%20slang%3D%22en-US%22%3ECan%20Azure%20Application%20Gateway%20use%20for%20traffic%20from%20onpremise%20to%20Web%20servers%20in%20Azure%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-878021%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22_2FCtq-QzlfuN-SwVMUZMM3%20_2v9pwVh0VUYrmhoMv1tHPm%20t3_d9gpdk%22%3E%3CDIV%20class%3D%22y8HYJ-y_lTUHkQIc1mdCq%20_2INHSNB8V5eaWp4P0rY_mE%22%3E%3CDIV%20class%3D%22_2SdHzo12ISmrC8H86TgSCp%20_29WrubtjAcKqzJSPdQqQ4h%20%22%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EPlease%20check%20the%20Azure%20Application%20Gateway%20Flow%20Diagram%3A%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%3CA%20href%3D%22https%3A%2F%2Fimgur.com%2Fa%2Fh9yyIWH%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fimgur.com%2Fa%2Fh9yyIWH%3C%2FA%3E%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EKindly%20confirm%20if%20Application%20Gateway%20can%20allow%20traffic%20from%20Onpremise%20via%20Private%20IP%20and%20Traffic%20from%20Internet%20via%20Public%20IP%3F%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-878021%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENetworking%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-880414%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Azure%20Application%20Gateway%20use%20for%20traffic%20from%20onpremise%20to%20Web%20servers%20in%20Azure%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-880414%22%20slang%3D%22en-US%22%3EApplication%20Gateway%20supports%20one%20internal%20IP%20and%20one%20external%20IP%20per%20application%20gateway%2C%3CBR%20%2F%3EYou%20can%20configure%20multiple%20listeners%20to%20check%20for%20incoming%20connection%20requests%20by%20using%20the%20port%2C%20protocol%2C%20host%2C%20and%20IP%20address%3CBR%20%2F%3E%3CBR%20%2F%3Ethe%20Application%20Gateway%20v2%20SKU%20supports%20static%20public%20IP%20addresses.%20The%20v1%20SKU%20supports%20static%20internal%20IPs.%20An%20application%20gateway%20supports%20only%20one%20public%20IP%20address%20however%20you%20can%20deploy%20more%20than%20one%20Application%20Gateway%20resource%20to%20a%20single%20subnet.%3CBR%20%2F%3E%3CBR%20%2F%3EWould%20also%20suggest%20to%20take%20a%20look%20at%20Front%20Door%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-881692%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Azure%20Application%20Gateway%20use%20for%20traffic%20from%20onpremise%20to%20Web%20servers%20in%20Azure%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-881692%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9020%22%20target%3D%22_blank%22%3E%40Dave%20Rend%C3%B3n%3C%2FA%3E%26nbsp%3B%20Thanks%20for%20your%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20i%20use%20one%20application%20gateway%20with%20Static%20Internal%20IP%20Address%20and%20in%20background%20connect%20to%20multiple%20Web%20Server%20(Different%20Applications)%3C%2FP%3E%3CP%3EIf%20yes%2C%20wondering%20how%20App%20Gateway%20will%20be%20able%20to%20route%20the%20traffic%20to%20a%20specific%20Web%20server%20as%20the%20ip%20address%20is%20the%20same.%3C%2FP%3E%3CP%3EYup%20can%20differentiate%20based%20on%20port%2C%20but%20again%20that%20is%20not%20possible.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20suggestions%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-884994%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Azure%20Application%20Gateway%20use%20for%20traffic%20from%20onpremise%20to%20Web%20servers%20in%20Azure%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-884994%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20what%20you%20are%20trying%20to%20accomplish%20is%20done%20by%20creating%20a%20multi-site%20listener%20within%20the%20application%20gateway%20settings.%20I%20am%20assuming%20the%20applications%20have%20a%20different%20URL%20or%20URI%20for%20access%3F%20If%20that%20is%20the%20case%20you%20can%20create%20a%20multi-site%20listener%20for%20each%20site%20and%20associate%20the%20correct%20HTTP%20settings%20and%20rules%20with%20each%20listener.%20This%20will%20allow%20you%20to%20use%20the%20same%20port%20but%20route%20to%20different%20back%20end%20host%20pools.%26nbsp%3B%20I%20have%20set%20this%20up%20for%20a%20few%20clients%20and%20customers%20and%20it%20works%20like%20a%20charm.%20Let%20me%20know%20if%20you%20want%20further%20clarification.%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180469%22%20target%3D%22_blank%22%3E%40Admin%20O365%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Please check the Azure Application Gateway Flow Diagram:

https://imgur.com/a/h9yyIWH

Kindly confirm if Application Gateway can allow traffic from Onpremise via Private IP and Traffic from Internet via Public IP?

3 Replies
Application Gateway supports one internal IP and one external IP per application gateway,
You can configure multiple listeners to check for incoming connection requests by using the port, protocol, host, and IP address

the Application Gateway v2 SKU supports static public IP addresses. The v1 SKU supports static internal IPs. An application gateway supports only one public IP address however you can deploy more than one Application Gateway resource to a single subnet.

Would also suggest to take a look at Front Door


@Dave Rendón  Thanks for your response.

 

Can i use one application gateway with Static Internal IP Address and in background connect to multiple Web Server (Different Applications)

If yes, wondering how App Gateway will be able to route the traffic to a specific Web server as the ip address is the same.

Yup can differentiate based on port, but again that is not possible.

 

Any suggestions?

I think what you are trying to accomplish is done by creating a multi-site listener within the application gateway settings. I am assuming the applications have a different URL or URI for access? If that is the case you can create a multi-site listener for each site and associate the correct HTTP settings and rules with each listener. This will allow you to use the same port but route to different back end host pools.  I have set this up for a few clients and customers and it works like a charm. Let me know if you want further clarification.    @Admin O365 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies