大网数据广告活动
服务器运维问答

How to connect to a third party VPN from Google Cloud Platform?

· 52CE 我爱测

Requirements I am trying to connect to a third party VPN from my back end on Google Cloud Platform. Since my IP has to be whitelisted by the third party, the source IP for all requests must be a single static IP address. My plan …

问题原文

原帖链接 · Ismail Khan · CC BY-SA 4.0

Requirements

  1. I am trying to connect to a third party VPN from my back end on Google Cloud Platform.

  2. Since my IP has to be whitelisted by the third party, the source IP for all requests must be a single static IP address.

My plan so far...

Currently I plan to run a Kubernetes service that runs as a "proxy", such that the service is connected to the VPN and the rest of my back end can send requests to the proxy. Requests from my back end to the proxy service should obviously not run via the VPN, but requests from the proxy service to the third party should run on the VPN.

The challenge

I know how to reserve an IP address, but I don't even know where to begin to set up a VPN client.

Any help would be greatly appreciated!

已采纳解答

原帖链接 · Ioan B · CC BY-SA 4.0

The VPN Interoperability Guides documentation offered by Google is a great place to start exploring the VPN connectivity with third party solutions.

The main idea is to make sure that your networks and subnets from each side of the VPN do not overlap. For instance, if you use 10.0.1.0/24 for your Kubernetes deployment, you cannot have the same 10.0.1.0/24 range on the remote side as well.

Once you have decided on the ranges to you use, you can set up the VPN. You can follow this how-to for more in-depth explanation on the parameters required.

Also make sure you review and modify the corresponding rules in the Firewall in both networks for the traffic to be allowed.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-08-08)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。