WING PROXY

设置指南

每一行都包含网关、端口、用户名和密码。你选择的选项(国家、会话)写在用户名中。

代理行格式

host:port:user:pass 是导入列表的工具最常用的格式。user:pass@host:port 可在大多数库中作为代理地址使用。

国家

像列表生成器那样,把国家代码加入用户名。不加时可使用任意国家。

轮换

不设会话时,每个新连接都可能获得新 IP。设置会话 ID 和时长后,在 IP 保持在线期间,相同会话 ID 的连接会在该时长内保持同一 IP。换一个新的会话 ID 即可获得新 IP。

免密码登录

在“设置 > 白名单 IP 地址”中添加你服务器的公网 IPv4 地址。来自该地址的连接只需用户名选项即可使用网关。

流量

流量是指通过代理传输的数据,以代理网络统计为准。你可以在“用量”中查看每日使用情况。

示例

示例值。登录后,这里会显示你自己的用户名、密码和网关。

curl

curl -x http://wgp-yourname-country-de-session-k3m9p2qa-time-10:yourpassword@gate.wingproxy.example:8000 https://api.ipify.org

Python (requests)

import requests
proxy = "http://wgp-yourname-country-de-session-k3m9p2qa-time-10:yourpassword@gate.wingproxy.example:8000"
r = requests.get("https://api.ipify.org", proxies={"http": proxy, "https": proxy}, timeout=30)
print(r.text)

Node.js (undici)

import { ProxyAgent, fetch } from "undici";
const agent = new ProxyAgent("http://wgp-yourname-country-de-session-k3m9p2qa-time-10:yourpassword@gate.wingproxy.example:8000");
const r = await fetch("https://api.ipify.org", { dispatcher: agent });
console.log(await r.text());

SOCKS5

curl -x socks5h://wgp-yourname-country-de-session-k3m9p2qa-time-10:yourpassword@gate.wingproxy.example:9000 https://api.ipify.org

浏览器

在浏览器或代理扩展中,把 HTTP 代理设为网关和 HTTP 端口,在提示时输入用户名和密码。