github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/outbound/shadowtls.md (about) 1 ### Structure 2 3 ```json 4 { 5 "type": "shadowtls", 6 "tag": "st-out", 7 8 "server": "127.0.0.1", 9 "server_port": 1080, 10 "version": 3, 11 "password": "fuck me till the daylight", 12 "tls": {}, 13 14 ... // Dial Fields 15 } 16 ``` 17 18 ### Fields 19 20 #### server 21 22 ==Required== 23 24 The server address. 25 26 #### server_port 27 28 ==Required== 29 30 The server port. 31 32 #### version 33 34 ShadowTLS protocol version. 35 36 | Value | Protocol Version | 37 |---------------|-----------------------------------------------------------------------------------------| 38 | `1` (default) | [ShadowTLS v1](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v1) | 39 | `2` | [ShadowTLS v2](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v2) | 40 | `3` | [ShadowTLS v3](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-v3-en.md) | 41 42 #### password 43 44 Set password. 45 46 Only available in the ShadowTLS v2/v3 protocol. 47 48 #### tls 49 50 ==Required== 51 52 TLS configuration, see [TLS](/configuration/shared/tls/#outbound). 53 54 ### Dial Fields 55 56 See [Dial Fields](/configuration/shared/dial) for details.