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

32 lines
391 B
Markdown
Raw Permalink Normal View History

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