在 Cloudflare 中模拟 IP 地址以进行地理定位

Emulate IP address in Cloudflare for Geolocation

提问人:Jack Spektor 提问时间:6/19/2023 更新时间:6/19/2023 访问量:90

问:

我正在使用 Cloudflare 地理定位功能在我们的网站上启用 IP 地理定位。

https://developers.cloudflare.com/support/network/configuring-ip-geolocation/

但是,作为测试的一部分,我们希望模拟客户端 IP 地址,以确保我们的逻辑按预期工作。

以前我们使用 MaxMind 本地数据库并通过标头传递 IP,但是现在数据库在 Cloudflare 上,这是不可能的。X-Forwarded-For

是否还有另一种类似的方式来使用 Cloudflare 来模拟 IP?

Cloudflare IP 地理定位

评论


答: 暂无答案