2022-07-08 10:10:39 +00:00
|
|
|
`mixed` inbound is a socks4, socks4a, socks5 and http server.
|
|
|
|
|
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-08-31 04:50:26 +00:00
|
|
|
"type": "mixed",
|
|
|
|
"tag": "mixed-in",
|
|
|
|
|
|
|
|
... // Listen Fields
|
|
|
|
|
|
|
|
"users": [
|
2022-07-08 10:10:39 +00:00
|
|
|
{
|
2022-08-31 04:50:26 +00:00
|
|
|
"username": "admin",
|
|
|
|
"password": "admin"
|
2022-07-08 10:10:39 +00:00
|
|
|
}
|
2022-08-31 04:50:26 +00:00
|
|
|
],
|
|
|
|
"set_system_proxy": false
|
2022-07-08 10:10:39 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Listen Fields
|
|
|
|
|
2023-12-14 14:23:52 +00:00
|
|
|
See [Listen Fields](/configuration/shared/listen/) for details.
|
2022-07-08 10:10:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
### Fields
|
2022-07-09 01:26:50 +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 and HTTP users.
|
2022-07-08 10:10:39 +00:00
|
|
|
|
2022-08-31 04:50:26 +00:00
|
|
|
No authentication required if empty.
|
2022-07-08 10:10:39 +00:00
|
|
|
|
2022-07-14 06:29:28 +00:00
|
|
|
#### set_system_proxy
|
|
|
|
|
2023-11-09 09:04:08 +00:00
|
|
|
!!! quote ""
|
2022-07-14 06:29:28 +00:00
|
|
|
|
2022-08-04 14:01:20 +00:00
|
|
|
Only supported on Linux, Android, Windows, and macOS.
|
2022-07-14 06:29:28 +00:00
|
|
|
|
2023-03-23 13:23:20 +00:00
|
|
|
!!! warning ""
|
|
|
|
|
2024-02-18 16:19:33 +00:00
|
|
|
To work on Android and Apple platforms without privileges, use tun.platform.http_proxy instead.
|
2023-03-23 13:23:20 +00:00
|
|
|
|
|
|
|
Automatically set system proxy configuration when start and clean up when stop.
|