简体   繁体   中英

Azure App Service integrate to accessible only via vnet gateway VPN

Im Trying to Create a web application that can only accessible via vnet or only network connected to vnet VPN.

I setup vnet and create a Gateway that has point-to-site configured. I setup the Web Service and on the network side i allow the gateway to access the Web. Then i connect to vpn on my local machine but still not able to access the web app.

what i did wrong?

Please check when you create webapp. Under basic configuration sku and Size is not Standard S1 because its not working on standard S1.

Check its if its Standard S1 then its not working.在此处输入图像描述

Steps to create.

  1. Create Vnet and under vnet go to subnet. create two more sub net, first subnet and second Gateway subnet.

在此处输入图像描述

  1. Create App service plan. make sourer not select Standard S1

在此处输入图像描述

在此处输入图像描述

  1. Create web app.

在此处输入图像描述

  1. At this time its access to publicly.

在此处输入图像描述

在此处输入图像描述

  1. Under left hand side panel select Networking.

在此处输入图像描述

  1. Open private endpoint connections.

在此处输入图像描述

在此处输入图像描述

after approved click go to app service and click on URL. at this time its not accessible to publicly.

在此处输入图像描述

在此处输入图像描述

  1. Create a VM, under networking section select virtual network those created.

在此处输入图像描述

  1. Go to resource and connect to this VM.

在此处输入图像描述

  1. Connect and open web application. its run fine on VM.

在此处输入图像描述

More information read these document Use Azure Private Endpoints to Restrict Public Access to WebApps by Neeraj Kumar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM