mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
Add documentation for tun platform options
This commit is contained in:
parent
a2d43b3746
commit
c24df037ac
|
@ -46,8 +46,15 @@
|
||||||
"exclude_package": [
|
"exclude_package": [
|
||||||
"com.android.captiveportallogin"
|
"com.android.captiveportallogin"
|
||||||
],
|
],
|
||||||
...
|
"platform": {
|
||||||
// Listen Fields
|
"http_proxy": {
|
||||||
|
"enabled": false,
|
||||||
|
"server": "127.0.0.1",
|
||||||
|
"server_port": 8080
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
... // Listen Fields
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -187,6 +194,14 @@ Limit android packages in route.
|
||||||
|
|
||||||
Exclude android packages in route.
|
Exclude android packages in route.
|
||||||
|
|
||||||
|
#### platform
|
||||||
|
|
||||||
|
Platform-specific settings, provided by client applications.
|
||||||
|
|
||||||
|
#### platform.http_proxy
|
||||||
|
|
||||||
|
System HTTP proxy settings.
|
||||||
|
|
||||||
### Listen Fields
|
### Listen Fields
|
||||||
|
|
||||||
See [Listen Fields](/configuration/shared/listen) for details.
|
See [Listen Fields](/configuration/shared/listen) for details.
|
||||||
|
|
|
@ -46,8 +46,15 @@
|
||||||
"exclude_package": [
|
"exclude_package": [
|
||||||
"com.android.captiveportallogin"
|
"com.android.captiveportallogin"
|
||||||
],
|
],
|
||||||
...
|
"platform": {
|
||||||
// 监听字段
|
"http_proxy": {
|
||||||
|
"enabled": false,
|
||||||
|
"server": "127.0.0.1",
|
||||||
|
"server_port": 8080
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
... // 监听字段
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -183,6 +190,14 @@ TCP/IP 栈。
|
||||||
|
|
||||||
排除路由的 Android 应用包名。
|
排除路由的 Android 应用包名。
|
||||||
|
|
||||||
|
#### platform
|
||||||
|
|
||||||
|
平台特定的设置,由客户端应用提供。
|
||||||
|
|
||||||
|
#### platform.http_proxy
|
||||||
|
|
||||||
|
系统 HTTP 代理设置。
|
||||||
|
|
||||||
### 监听字段
|
### 监听字段
|
||||||
|
|
||||||
参阅 [监听字段](/zh/configuration/shared/listen/)。
|
参阅 [监听字段](/zh/configuration/shared/listen/)。
|
||||||
|
|
Loading…
Reference in a new issue