github.com/sagernet/sing-box@v1.9.0-rc.20/docs/configuration/outbound/tuic.md (about) 1 ### Structure 2 3 ```json 4 { 5 "type": "tuic", 6 "tag": "tuic-out", 7 8 "server": "127.0.0.1", 9 "server_port": 1080, 10 "uuid": "2DD61D93-75D8-4DA4-AC0E-6AECE7EAC365", 11 "password": "hello", 12 "congestion_control": "cubic", 13 "udp_relay_mode": "native", 14 "udp_over_stream": false, 15 "zero_rtt_handshake": false, 16 "heartbeat": "10s", 17 "network": "tcp", 18 "tls": {}, 19 20 ... // Dial Fields 21 } 22 ``` 23 24 ### Fields 25 26 #### server 27 28 ==Required== 29 30 The server address. 31 32 #### server_port 33 34 ==Required== 35 36 The server port. 37 38 #### uuid 39 40 ==Required== 41 42 TUIC user uuid 43 44 #### password 45 46 TUIC user password 47 48 #### congestion_control 49 50 QUIC congestion control algorithm 51 52 One of: `cubic`, `new_reno`, `bbr` 53 54 `cubic` is used by default. 55 56 #### udp_relay_mode 57 58 UDP packet relay mode 59 60 | Mode | Description | 61 |:-------|:-------------------------------------------------------------------------| 62 | native | native UDP characteristics | 63 | quic | lossless UDP relay using QUIC streams, additional overhead is introduced | 64 65 `native` is used by default. 66 67 Conflict with `udp_over_stream`. 68 69 #### udp_over_stream 70 71 This is the TUIC port of the [UDP over TCP protocol](/configuration/shared/udp-over-tcp/), designed to provide a QUIC 72 stream based UDP relay mode that TUIC does not provide. Since it is an add-on protocol, you will need to use sing-box or 73 another program compatible with the protocol as a server. 74 75 This mode has no positive effect in a proper UDP proxy scenario and should only be applied to relay streaming UDP 76 traffic (basically QUIC streams). 77 78 Conflict with `udp_relay_mode`. 79 80 #### network 81 82 Enabled network 83 84 One of `tcp` `udp`. 85 86 Both is enabled by default. 87 88 #### tls 89 90 ==Required== 91 92 TLS configuration, see [TLS](/configuration/shared/tls/#outbound). 93 94 ### Dial Fields 95 96 See [Dial Fields](/configuration/shared/dial/) for details.