隱藏於 Cloudflare 的全球網路之中
隱藏於 Cloudflare 的全球網路之中 一種方式是使用 Cloudflare WARP,讓 WARP 以 proxy mode 執行,而不是接管全域流量。 warp-cli register # WARP 監聽本機的 11111 埠 warp-cli set-proxy-port 11111 # WARP proxy mode warp-cli set-mode proxy # 永久啟用 warp-cli enable-always-on https_proxy=socks5://127.0.0.1:11111 http_proxy=socks5://127.0.0.1:11111 go run main.go 另一種方式是使用 Cloudflare Workers,請求由 Workers 轉發。 export default { async fetch(request: Request): Promise { /** * 將 `remote` 替換為你想要轉發請求的主機 */ const remote = "https://example.com"; return await fetch(remote, request); }, };