sing-box/docs/configuration/inbound/socks.md

32 lines
391 B
Markdown
Raw Permalink Normal View History

2022-07-08 18:10:39 +08:00
`socks` inbound is a socks4, socks4a, socks5 server.
### Structure
```json
{
2022-08-31 12:50:26 +08:00
"type": "socks",
"tag": "socks-in",
... // Listen Fields
2022-08-23 23:15:56 +08:00
2022-08-31 12:50:26 +08:00
"users": [
{
"username": "admin",
"password": "admin"
2022-07-08 18:10:39 +08:00
}
]
}
```
### Listen Fields
2022-07-08 18:10:39 +08:00
2022-08-31 12:50:26 +08:00
See [Listen Fields](/configuration/shared/listen) for details.
2022-08-31 12:50:26 +08:00
### Fields
2022-07-08 18:10:39 +08:00
2022-08-31 12:50:26 +08:00
#### users
2022-07-08 18:10:39 +08:00
2022-08-31 12:50:26 +08:00
SOCKS users.
2022-07-08 18:10:39 +08:00
2022-08-31 12:50:26 +08:00
No authentication required if empty.