sing-box/docs/configuration/inbound/mixed.md
2023-12-18 22:27:12 +08:00

45 lines
721 B
Markdown

`mixed` inbound is a socks4, socks4a, socks5 and http server.
### Structure
```json
{
"type": "mixed",
"tag": "mixed-in",
... // Listen Fields
"users": [
{
"username": "admin",
"password": "admin"
}
],
"set_system_proxy": false
}
```
### Listen Fields
See [Listen Fields](/configuration/shared/listen/) for details.
### Fields
#### users
SOCKS and HTTP users.
No authentication required if empty.
#### set_system_proxy
!!! quote ""
Only supported on Linux, Android, Windows, and macOS.
!!! warning ""
To work on Android and iOS without privileges, use tun.platform.http_proxy instead.
Automatically set system proxy configuration when start and clean up when stop.