Files
sing-box-extended-mirror/docs/configuration/inbound/anytls.md
T

60 lines
744 B
Markdown
Raw Normal View History

2025-02-22 17:41:03 +08:00
---
icon: material/new-box
---
!!! question "Since sing-box 1.12.0"
2025-02-20 20:06:21 +08:00
### Structure
```json
{
"type": "anytls",
"tag": "anytls-in",
... // Listen Fields
"users": [
{
"name": "sekai",
"password": "8JCsPssfgS8tiRwiMlhARg=="
}
],
"padding_scheme": [],
"tls": {}
}
```
### Listen Fields
See [Listen Fields](/configuration/shared/listen/) for details.
### Fields
#### users
==Required==
AnyTLS users.
#### padding_scheme
AnyTLS padding scheme line array.
2025-02-22 17:41:03 +08:00
Default padding scheme:
```
stop=8
2025-03-27 16:06:37 +08:00
0=30-30
2025-02-22 17:41:03 +08:00
1=100-400
2025-03-27 16:06:37 +08:00
2=400-500,c,500-1000,c,500-1000,c,500-1000,c,500-1000
3=9-9,500-1000
2025-02-22 17:41:03 +08:00
4=500-1000
5=500-1000
6=500-1000
7=500-1000
```
2025-02-20 20:06:21 +08:00
#### tls
TLS configuration, see [TLS](/configuration/shared/tls/#inbound).