mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-26 12:25:38 +08:00
32 lines
391 B
Markdown
32 lines
391 B
Markdown
`socks` inbound is a socks4, socks4a, socks5 server.
|
|
|
|
### Structure
|
|
|
|
```json
|
|
{
|
|
"type": "socks",
|
|
"tag": "socks-in",
|
|
|
|
... // Listen Fields
|
|
|
|
"users": [
|
|
{
|
|
"username": "admin",
|
|
"password": "admin"
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
### Listen Fields
|
|
|
|
See [Listen Fields](/configuration/shared/listen) for details.
|
|
|
|
### Fields
|
|
|
|
#### users
|
|
|
|
SOCKS users.
|
|
|
|
No authentication required if empty.
|