sc-vpn
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSC-VPN Gateway
SC-VPN Gateway
Internal VPN service for the Starchild platform. Provides exit nodes in 18 fixed countries — accessible only from within the Starchild internal network. No credentials or setup needed.
Starchild平台的内部VPN服务。提供18个固定国家/地区的出口节点——仅可从Starchild内部网络访问,无需凭证或额外配置。
⚠️ When to Use
⚠️ 使用场景
SC-VPN is a last resort, not a default. Most agent HTTP traffic already goes through (the platform's transparent billing proxy for paid APIs). Setting a global VPN proxy will break sc-proxy routing.
sc-proxyUse SC-VPN only when:
- A specific request is geo-blocked or returns a region error
- You need to appear from a specific country for a particular API call
- A target website/API refuses connections from the default exit
Always use per-request proxy (pass to or to ). Never set global / environment variables
proxies=requests.get()-xcurlHTTP_PROXYHTTPS_PROXYSC-VPN是最后的解决方案,而非默认选项。 大多数Agent的HTTP流量已通过(平台针对付费API的透明计费代理)转发。设置全局VPN代理会破坏sc-proxy的路由逻辑。
sc-proxy仅在以下场景使用SC-VPN:
- 特定请求遭遇地域封锁或返回区域错误
- 特定API调用需要以特定国家/地区的身份访问
- 目标网站/API拒绝默认出口IP的连接
始终使用单请求代理(向传入参数,或向添加参数)。切勿设置全局 / 环境变量
requests.get()proxies=curl-xHTTP_PROXYHTTPS_PROXYAvailable Countries
可用国家/地区
| Country | Code | Example Cities |
|---|---|---|
| 🇦🇺 Australia | | Adelaide, Sydney, Melbourne |
| 🇨🇭 Switzerland | | Zürich |
| 🇩🇪 Germany | | Berlin, Frankfurt |
| 🇯🇵 Japan | | Tokyo, Osaka |
| 🇲🇾 Malaysia | | Kuala Lumpur |
| 🇲🇽 Mexico | | Querétaro |
| 🇹🇭 Thailand | | Bangkok |
| 🇿🇦 South Africa | | Johannesburg |
| 🇧🇷 Brazil | | São Paulo, Fortaleza |
| 🇦🇷 Argentina | | Buenos Aires |
| 🇸🇬 Singapore | | Singapore |
| 🇭🇰 Hong Kong | | Hong Kong |
| 🇬🇧 United Kingdom | | London, Manchester |
| 🇳🇱 Netherlands | | Amsterdam |
| 🇫🇷 France | | Paris, Marseille |
| 🇸🇪 Sweden | | Stockholm, Malmö |
| 🇪🇸 Spain | | Madrid |
| 🇮🇹 Italy | | Milan, Rome |
Only these 18 countries. Requests for other regions are rejected (502). The specific server per country is auto-selected daily based on latency.
| 国家/地区 | 代码 | 示例城市 |
|---|---|---|
| 🇦🇺 澳大利亚 | | Adelaide, Sydney, Melbourne |
| 🇨🇭 瑞士 | | Zürich |
| 🇩🇪 德国 | | Berlin, Frankfurt |
| 🇯🇵 日本 | | Tokyo, Osaka |
| 🇲🇾 马来西亚 | | Kuala Lumpur |
| 🇲🇽 墨西哥 | | Querétaro |
| 🇹🇭 泰国 | | Bangkok |
| 🇿🇦 南非 | | Johannesburg |
| 🇧🇷 巴西 | | São Paulo, Fortaleza |
| 🇦🇷 阿根廷 | | Buenos Aires |
| 🇸🇬 新加坡 | | Singapore |
| 🇭🇰 中国香港 | | Hong Kong |
| 🇬🇧 英国 | | London, Manchester |
| 🇳🇱 荷兰 | | Amsterdam |
| 🇫🇷 法国 | | Paris, Marseille |
| 🇸🇪 瑞典 | | Stockholm, Malmö |
| 🇪🇸 西班牙 | | Madrid |
| 🇮🇹 意大利 | | Milan, Rome |
仅支持以上18个国家/地区。其他区域的请求会被拒绝(返回502错误)。每个国家/地区的具体服务器会根据延迟每日自动选择。
Quick Start
快速开始
curl (per-request proxy)
curl(单请求代理)
bash
undefinedbash
undefinedRoute ONE request through Japan
通过日本节点转发单个请求
Route ONE request through Brazil
通过巴西节点转发单个请求
undefinedundefinedPython requests (per-request proxy)
Python requests(单请求代理)
python
import requests
def vpn_proxy(region: str) -> dict:
"""Return proxy dict for a given region code."""
return {
"https": f"http://{region}:x@sc-vpn.internal:8080",
"http": f"http://{region}:x@sc-vpn.internal:8080",
}python
import requests
def vpn_proxy(region: str) -> dict:
"""Return proxy dict for a given region code."""
return {
"https": f"http://{region}:x@sc-vpn.internal:8080",
"http": f"http://{region}:x@sc-vpn.internal:8080",
}Only the geo-blocked request goes through VPN
仅受地域限制的请求通过VPN转发
resp = requests.get("https://geo-restricted-api.example.com", proxies=vpn_proxy("jp"))
resp = requests.get("https://geo-restricted-api.example.com", proxies=vpn_proxy("jp"))
All other requests go through normal sc-proxy routing (no proxies= arg)
其他所有请求通过常规sc-proxy路由(无需传入proxies=参数)
resp2 = requests.get("https://api.coingecko.com/...")
undefinedresp2 = requests.get("https://api.coingecko.com/...")
undefined❌ Do NOT do this
❌ 禁止操作
bash
undefinedbash
undefinedWRONG — may influence other requests
错误做法——可能影响其他请求
export HTTP_PROXY="http://jp:x@sc-vpn.internal:8080"
export HTTPS_PROXY="http://jp:x@sc-vpn.internal:8080"
undefinedexport HTTP_PROXY="http://jp:x@sc-vpn.internal:8080"
export HTTPS_PROXY="http://jp:x@sc-vpn.internal:8080"
undefinedRegion Selection
区域选择
The username in the proxy URL selects the exit country:
| Input | Resolves To |
|---|---|
| Japan |
| Australia |
| Germany |
| Switzerland |
| Thailand |
| Brazil |
| Argentina |
| Mexico |
| Malaysia |
| South Africa |
| Singapore |
| Hong Kong |
| United Kingdom |
| Netherlands |
| France |
| Sweden |
| Spain |
| Italy |
代理URL中的用户名用于选择出口国家/地区:
| 输入值 | 对应区域 |
|---|---|
| 日本 |
| 澳大利亚 |
| 德国 |
| 瑞士 |
| 泰国 |
| 巴西 |
| 阿根廷 |
| 墨西哥 |
| 马来西亚 |
| 南非 |
| 新加坡 |
| 中国香港 |
| 英国 |
| 荷兰 |
| 法国 |
| 瑞典 |
| 西班牙 |
| 意大利 |
REST API
REST API
Base URL:
http://sc-vpn.internal:8081| Endpoint | Description |
|---|---|
| Status of all 18 tunnels (region, latency, uptime) |
| Gateway overview |
| Your traffic stats (identified by source IP) |
| Health check |
基础URL:
http://sc-vpn.internal:8081| 端点 | 描述 |
|---|---|
| 查看全部18个隧道的状态(区域、延迟、在线时长) |
| 网关概览信息 |
| 你的流量统计(通过源IP识别) |
| 健康检查 |
Rate Limits
速率限制
| Limit | Default |
|---|---|
| Monthly quota per client | 500 GB |
| Max concurrent connections | 50 |
| Requests per second | 100 |
Clients identified by source IP. No API keys needed — internal network only.
| 限制项 | 默认值 |
|---|---|
| 每个客户端每月配额 | 500 GB |
| 最大并发连接数 | 50 |
| 每秒请求数 | 100 |
客户端通过源IP识别,无需API密钥——仅内部网络可访问。
Verify It Works
验证有效性
bash
undefinedbash
undefinedYour real exit IP
你的真实出口IP
curl https://ifconfig.me
curl https://ifconfig.me
VPN exit IP (should be different, from Japan)
VPN出口IP(应与真实IP不同,来自日本)
undefinedundefinedTroubleshooting
故障排查
| Problem | Fix |
|---|---|
| Use one of: au, ch, de, jp, my, mx, th, za, br, ar, sg, hk, gb, nl, fr, se, es, it |
| Gateway may need restart — check |
| Add username to proxy URL: |
DNS failure for | Only accessible from Starchild internal network |
| Other requests broken after using VPN | You set global |
| 问题 | 解决方法 |
|---|---|
| 使用以下有效代码之一:au, ch, de, jp, my, mx, th, za, br, ar, sg, hk, gb, nl, fr, se, es, it |
| 网关可能需要重启——查看 |
| 在代理URL中添加用户名: |
| 该服务仅可从Starchild内部网络访问 |
| 使用VPN后其他请求异常 | 你设置了全局 |