[英]Forward request from compute engine (GCP) to on-premise API
I'm trying to forward requests from a compute engine instance to an internal API (its an on-premise API that communicates to the VM through Cloud VPN
) but without luck, I tried to research how to accomplish this, but with no results.我正在尝试将来自计算引擎实例的请求转发到内部 API (它是通过
Cloud VPN
与 VM 通信的本地 API )但没有运气,我试图研究如何实现这一点,但没有结果。
Someone knows how to achieve it?.有人知道如何实现吗? In short my goal is to access the on-premise API from my local computer for development purpose using the CE as a proxy.
简而言之,我的目标是使用 CE 作为代理从我的本地计算机访问本地 API 用于开发目的。
I am open to create more resources or to change the CE instance if there its a better way to handling this.如果有更好的处理方法,我愿意创建更多资源或更改 CE 实例。
My VM is a simple Debian 10 machine.我的VM是一台简单的Debian 10机器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.