服务器 2012,SSL(让我们加密),nodejs 应用程序,重定向端口

Server 2012, SSL (let's encrypt), nodejs app, redirect port

接下来有办法

  1. (SRV) Windows Server 2012 with public ip 11.22.33.44
  2. (SRV) Windows 服务器 2012 有 OpenVPN 服务器
  3. (SRV) Windows Server 2012 有带 https 的 IIS 站点(让我们加密)https://some-site.com
  4. (PC) Windows 10 OpenVPN 客户端 ip 192.168.15.6
  5. (PC) 在 Windows 端口 8888 上运行了 10 个节点应用程序
  6. 我可以在 SRV
  7. 上打开 http://192.168.15.6:8888

我可以重定向 https://some-site.com <-> http://192.168.15.6:8888 之间的所有内容吗?

为什么?

  1. 有外部应用程序只能连接到 https://some-site.com
  2. 有适用于 https://some-site.com
  3. 的 C# 应用程序
  4. 我是开发人员,想在 PC 上将 C# 应用程序重写为 nodejs 应用程序

最后我用了https://www.iis.net/downloads/microsoft/url-rewrite

Url-rewrite 允许通过 OpenVPN 通道将 https 流量从 public IIS 重定向到本地 PC。