First of, I'm not really that much into networking stuff, so I might use wrong expressions and stuff.
My issue is that I need to connect a web app to an onpremise machine.
I've read the MS guides and have come along way, but stumble at the finish line.
So far I have created a Virtual Network (172.20.0.0/16)
, here I've added a GatewaySubnet (172.20.1.0/24)
Then I've created a Virtual Gateway Network
, where I've added a
Local Virtual Network [OnPremise Site-2-Site] (192.168.0.0/24, 10.0.0.0/16, 172.16.0.0/24)
So with this setup, I can connect from my VM to the onpremise machine.
Now I want to add a Web App to the Virtual Network
. So on the Gateway I've added a Point-2-Site Configuration (172.21.0.0/24)
and added a root cert
.
On the Web App under networking I've added it to the network and it connects. But it does seem like I can reach the OnPremise machine from the code on the web app.
One thing I don't really get is, I've added the root cert
on the Point-2-Site
, but I've not added the Client to the web-app. Is that because it's on Azure
, so I don't need it?
Or am I missing something else? If you need more info, please ask.
I've done this guide - an similar https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet
The setup I want is this https://docs.microsoft.com/en-us/azure/app-service/media/web-sites-integrate-with-vnet/vnetint-howitworks.png