mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-23 09:01:30 +00:00
32 lines
392 B
Markdown
32 lines
392 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.
|