github.com/sagernet/sing-box@v1.9.0-rc.20/docs/configuration/inbound/hysteria.md (about) 1 ### Structure 2 3 ```json 4 { 5 "type": "hysteria", 6 "tag": "hysteria-in", 7 8 ... // Listen Fields 9 10 "up": "100 Mbps", 11 "up_mbps": 100, 12 "down": "100 Mbps", 13 "down_mbps": 100, 14 "obfs": "fuck me till the daylight", 15 16 "users": [ 17 { 18 "name": "sekai", 19 "auth": "", 20 "auth_str": "password" 21 } 22 ], 23 24 "recv_window_conn": 0, 25 "recv_window_client": 0, 26 "max_conn_client": 0, 27 "disable_mtu_discovery": false, 28 "tls": {} 29 } 30 ``` 31 32 ### Listen Fields 33 34 See [Listen Fields](/configuration/shared/listen/) for details. 35 36 ### Fields 37 38 #### up, down 39 40 ==Required== 41 42 Format: `[Integer] [Unit]` e.g. `100 Mbps, 640 KBps, 2 Gbps` 43 44 Supported units (case sensitive, b = bits, B = bytes, 8b=1B): 45 46 bps (bits per second) 47 Bps (bytes per second) 48 Kbps (kilobits per second) 49 KBps (kilobytes per second) 50 Mbps (megabits per second) 51 MBps (megabytes per second) 52 Gbps (gigabits per second) 53 GBps (gigabytes per second) 54 Tbps (terabits per second) 55 TBps (terabytes per second) 56 57 #### up_mbps, down_mbps 58 59 ==Required== 60 61 `up, down` in Mbps. 62 63 #### obfs 64 65 Obfuscated password. 66 67 #### users 68 69 Hysteria users 70 71 #### users.auth 72 73 Authentication password, in base64. 74 75 #### users.auth_str 76 77 Authentication password. 78 79 #### recv_window_conn 80 81 The QUIC stream-level flow control window for receiving data. 82 83 `15728640 (15 MB/s)` will be used if empty. 84 85 #### recv_window_client 86 87 The QUIC connection-level flow control window for receiving data. 88 89 `67108864 (64 MB/s)` will be used if empty. 90 91 #### max_conn_client 92 93 The maximum number of QUIC concurrent bidirectional streams that a peer is allowed to open. 94 95 `1024` will be used if empty. 96 97 #### disable_mtu_discovery 98 99 Disables Path MTU Discovery (RFC 8899). Packets will then be at most 1252 (IPv4) / 1232 (IPv6) bytes in size. 100 101 Force enabled on for systems other than Linux and Windows (according to upstream). 102 103 #### tls 104 105 ==Required== 106 107 TLS configuration, see [TLS](/configuration/shared/tls/#inbound).