Update documentation

This commit is contained in:
世界
2022-10-01 11:48:46 +08:00
parent bd86bfcd22
commit c2969bc186
8 changed files with 144 additions and 20 deletions

View File

@@ -8,7 +8,6 @@
{
"type": "tun",
"tag": "tun-in",
"interface_name": "tun0",
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
@@ -39,8 +38,8 @@
"exclude_package": [
"com.android.captiveportallogin"
],
... // Listen Fields
...
// Listen Fields
}
```
@@ -86,7 +85,9 @@ Set the default route to the Tun.
#### strict_route
Enforce strict routing rules in Linux when `auto_route` is enabled:
*In Linux*:
Enforce strict routing rules when `auto_route` is enabled:
* Let unsupported network unreachable
* Route all connections to tun
@@ -94,6 +95,10 @@ Enforce strict routing rules in Linux when `auto_route` is enabled:
It prevents address leaks and makes DNS hijacking work on Android and Linux with systemd-resolved, but your device will
not be accessible by others.
*In Windows*:
Use segmented `auto_route` routing settings, which may help if you're using a dial-up network.
#### endpoint_independent_nat
!!! info ""