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

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "shadowsocksr",
     6    "tag": "ssr-out",
     7    
     8    "server": "127.0.0.1",
     9    "server_port": 1080,
    10    "method": "aes-128-cfb",
    11    "password": "8JCsPssfgS8tiRwiMlhARg==",
    12    "obfs": "plain",
    13    "obfs_param": "",
    14    "protocol": "origin",
    15    "protocol_param": "",
    16    "network": "udp",
    17  
    18    ... // Dial Fields
    19  }
    20  ```
    21  
    22  !!! warning ""
    23  
    24      The ShadowsocksR protocol is obsolete and unmaintained. This outbound is provided for compatibility only.
    25  
    26  !!! warning ""
    27  
    28      ShadowsocksR is not included by default, see [Installation](/#installation).
    29  
    30  ### Fields
    31  
    32  #### server
    33  
    34  ==Required==
    35  
    36  The server address.
    37  
    38  #### server_port
    39  
    40  ==Required==
    41  
    42  The server port.
    43  
    44  #### method
    45  
    46  ==Required==
    47  
    48  Encryption methods:
    49  
    50  * `aes-128-ctr`
    51  * `aes-192-ctr`
    52  * `aes-256-ctr`
    53  * `aes-128-cfb`
    54  * `aes-192-cfb`
    55  * `aes-256-cfb`
    56  * `rc4-md5`
    57  * `chacha20-ietf`
    58  * `xchacha20`
    59  
    60  #### password
    61  
    62  ==Required==
    63  
    64  The shadowsocks password.
    65  
    66  #### obfs
    67  
    68  The ShadowsocksR obfuscate.
    69  
    70  * plain
    71  * http_simple
    72  * http_post
    73  * random_head
    74  * tls1.2_ticket_auth
    75  
    76  #### obfs_param
    77  
    78  The ShadowsocksR obfuscate parameter.
    79  
    80  #### protocol
    81  
    82  The ShadowsocksR protocol.
    83  
    84  * origin
    85  * verify_sha1
    86  * auth_sha1_v4
    87  * auth_aes128_md5
    88  * auth_aes128_sha1
    89  * auth_chain_a
    90  * auth_chain_b
    91  
    92  #### protocol_param
    93  
    94  The ShadowsocksR protocol parameter.
    95  
    96  #### network
    97  
    98  Enabled network
    99  
   100  One of `tcp` `udp`.
   101  
   102  Both is enabled by default.
   103  
   104  ### Dial Fields
   105  
   106  See [Dial Fields](/configuration/shared/dial) for details.