mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-27 11:01:28 +00: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.
|