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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2022-08-27 13:16:04 +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-07-09 09:26:50 +08:00
|
|
|
|
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.
|