Shadowsocks 传出客户端协议

V2ray也以作为Shadowsocks的客户端使用。

客户端传入协议配置如下:

"outbound": {
  "sendThrough": "0.0.0.0",
  "protocol": "shadowsocks",
  "settings": {
  "servers": [
    {
      "email": "[email protected]",
      "address": "127.0.0.1",
      "port": 1234,
      "method": "加密方式",
      "password": "密码",
      "ota": false,
      "level": 0
    }
  ]
},
  "tag": "标识",
  "streamSettings": {},
  "proxySettings": {
    "tag": "another-outbound-tag"
  },
  "mux": {}
}

详细配置说明:

  • email: 邮箱地址,用于标识用户;
  • address: Shadowsocks 服务器地址,支持 IPv4、IPv6 和域名。
  • port: 服务器端口。
  • method: 加密方式,没有默认值。可选的值有:
    • "aes-256-cfb"
    • "aes-128-cfb"
    • "chacha20"
    • "chacha20-ietf"
    • "aes-256-gcm" (V2Ray 3.0+)
    • "aes-128-gcm" (V2Ray 3.0+)
    • "chacha20-poly1305" 或 "chacha20-ietf-poly1305" (V2Ray 3.0+)
  • password: 密码,任意字符串。Shadowsocks 协议不限制密码长度,但短密码会更可能被破解,建议使用 16 字符或更长的密码。
  • ota: 是否开启 Shadowsocks 的一次验证(One time auth)。
    • 当使用 AEAD 时,ota 设置无效
  • level: 用户等级

results matching ""

    No results matching ""