Shadowsocks

English Chinese

Shadowsocks protocol, for both inbound and outbound connections.

Compatibility with official version:

  • Supports both TCP and UDP connections, where UDP can be optional turned off.
  • Supports OTA
    • Client may choose to turn on or off.
    • Server may choose to enable, disable or auto.
  • Encryption methods (AEAD ciphers added in V2Ray 3.0):
    • aes-256-cfb
    • aes-128-cfb
    • chacha20
    • chacha20-ietf
    • aes-256-gcm
    • aes-128-gcm
    • chacha20-poly1305 a.k.a. chacha20-ietf-poly1305
  • Plugins:
    • Support obfs through standalone mode.

Info:

  • Name: shadowsocks
  • Type: Inbound / Outbound

Inbound proxy configuration

{
  "email": "love@v2ray.com",
  "method": "aes-128-cfb",
  "password": "password",
  "udp": false,
  "level": 0,
  "ota": true
}

其中:

  • email: Email address. Used for user identification.
  • method: Encryption method. No default value. Options are:
    • "aes-256-cfb"
    • "aes-128-cfb"
    • "chacha20"
    • "chacha20-ietf"
    • "aes-256-gcm"
    • "aes-128-gcm"
    • "chacha20-poly1305" or "chacha20-ietf-poly1305"
  • password: Password. Can be any string.
  • udp: true or false, whether or not to enable UDP. Default to false.
  • level: User level. Default to 0. See Policy.
  • ota: true or false, whether or not to enable OTA. Default to auto mode.
    • When AEAD is used, ota has no effect.

Outbound proxy configuration

{
  "servers": [
    {
      "email": "love@v2ray.com",
      "address": "127.0.0.1",
      "port": 1234,
      "method": "method",
      "password": "password",
      "ota": false,
      "level": 0
    }
  ]
}

其中:

  • email: Email address. Used for user identification.
  • address: Address of Shadowsocks server. Can be IPv4, IPv6 or domain.
  • port: Port of Shadowsocks server.
  • method: Encryption method. No default value. Options are:
    • "aes-256-cfb"
    • "aes-128-cfb"
    • "chacha20"
    • "chacha20-ietf"
    • "aes-256-gcm"
    • "aes-128-gcm"
    • "chacha20-poly1305" or "chacha20-ietf-poly1305"
  • password: Password. Can be any string.
  • ota: Whether or not to use OTA.
    • When AEAD is used, ota has no effect.
  • level: User level.