本页仅提供各平台 客户端下载与配置教程。你的专属节点链接(形如 ss://...)或二维码,请向管理员单独索取。
在此粘贴你的 ss:// 链接
v2rayN-windows-64.zip;ARM 设备选 windows-arm64
D:\v2rayN),不要放临时目录v2rayN.exe,首次提示防火墙权限请允许clash.yaml(或用节点链接自行生成)macos-arm64,Intel 选 macos-64arm64-v8a 版)系统代理对 curl/git 等命令行工具无效,需设环境变量。
一次性配置(以后每开一个新终端自动生效):
cat >> ~/.zshrc <<'EOF'
# ===== Clash 代理自动配置 =====
_CLASH_PORT=7890
if nc -z -w1 127.0.0.1 $_CLASH_PORT 2>/dev/null; then
export http_proxy="http://127.0.0.1:$_CLASH_PORT"
export https_proxy="http://127.0.0.1:$_CLASH_PORT"
export all_proxy="socks5://127.0.0.1:$_CLASH_PORT"
fi
proxyon(){ export http_proxy="http://127.0.0.1:$_CLASH_PORT" https_proxy="http://127.0.0.1:$_CLASH_PORT" all_proxy="socks5://127.0.0.1:$_CLASH_PORT"; echo "✅ 代理已开"; }
proxyoff(){ unset http_proxy https_proxy all_proxy; echo "❌ 代理已关"; }
# ==============================
EOF
source ~/.zshrc
之后可用 proxyon / proxyoff 临时开关。端口以客户端实际监听为准(Clash 默认 7890)。
连接后,浏览器搜索「我的IP」,或终端执行:
curl https://ifconfig.me