github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/outbound/shadowsocks.md (about)

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "shadowsocks",
     6    "tag": "ss-out",
     7    
     8    "server": "127.0.0.1",
     9    "server_port": 1080,
    10    "method": "2022-blake3-aes-128-gcm",
    11    "password": "8JCsPssfgS8tiRwiMlhARg==",
    12    "plugin": "",
    13    "plugin_opts": "",
    14    "network": "udp",
    15    "udp_over_tcp": false | {},
    16    "multiplex": {},
    17  
    18    ... // Dial Fields
    19  }
    20  ```
    21  
    22  ### Fields
    23  
    24  #### server
    25  
    26  ==Required==
    27  
    28  The server address.
    29  
    30  #### server_port
    31  
    32  ==Required==
    33  
    34  The server port.
    35  
    36  #### method
    37  
    38  ==Required==
    39  
    40  Encryption methods:
    41  
    42  * `2022-blake3-aes-128-gcm`
    43  * `2022-blake3-aes-256-gcm`
    44  * `2022-blake3-chacha20-poly1305`
    45  * `none`
    46  * `aes-128-gcm`
    47  * `aes-192-gcm`
    48  * `aes-256-gcm`
    49  * `chacha20-ietf-poly1305`
    50  * `xchacha20-ietf-poly1305`
    51  
    52  Legacy encryption methods:
    53  
    54  * `aes-128-ctr`
    55  * `aes-192-ctr`
    56  * `aes-256-ctr`
    57  * `aes-128-cfb`
    58  * `aes-192-cfb`
    59  * `aes-256-cfb`
    60  * `rc4-md5`
    61  * `chacha20-ietf`
    62  * `xchacha20`
    63  
    64  #### password
    65  
    66  ==Required==
    67  
    68  The shadowsocks password.
    69  
    70  #### plugin
    71  
    72  Shadowsocks SIP003 plugin, implemented in internal.
    73  
    74  Only `obfs-local` and `v2ray-plugin` are supported.
    75  
    76  #### plugin_opts
    77  
    78  Shadowsocks SIP003 plugin options.
    79  
    80  #### network
    81  
    82  Enabled network
    83  
    84  One of `tcp` `udp`.
    85  
    86  Both is enabled by default.
    87  
    88  #### udp_over_tcp
    89  
    90  UDP over TCP configuration.
    91  
    92  See [UDP Over TCP](/configuration/shared/udp-over-tcp) for details.
    93  
    94  Conflict with `multiplex`.
    95  
    96  #### multiplex
    97  
    98  Multiplex configuration, see [Multiplex](/configuration/shared/multiplex).
    99  
   100  ### Dial Fields
   101  
   102  See [Dial Fields](/configuration/shared/dial) for details.