将 Azure Web 应用程序连接到公司 VPN

Connect a Azure Web App to a company VPN

我想将我的 Azure Web 应用程序(标准计划应用程序服务)连接到我的工作 VPN,以便它可以在 VPN 中调用 Web 服务。

我无法控制 VPN 网络,因此无法在那里安装任何东西,但我确实有网络管理员提供的 VPN IP/Credentials。

谁能告诉我这是否可行以及我该怎么做?

您不能使用 Web 应用程序做到这一点,但是您可以设置 Hybrid Connections 使用您网络中的 VM(或者您自己的计算机,如果我们谈论的是开发场景)来反向代理请求那些网络服务。所有连接都是出站连接,因此无需修补防火墙。 Web 应用程序和混合连接管理器之间的通信使用 TLS 1.2 加密。

Within the Azure App Service, Hybrid Connections can be used to access application resources in other networks. It provides access FROM your app TO an application endpoint. It does not enable an alternative capability to access your application.

As used in the App Service, each hybrid connection correlates to a single TCP host and port combination. This means that the hybrid connection endpoint can be on any operating system and any application provided you are hitting a TCP listening port. Hybrid connections does not know or care what the application protocol is or what you are accessing. It is simply providing network access.