Add documentation and example for linux tun

This commit is contained in:
世界
2022-07-10 16:41:38 +08:00
parent 7f84191748
commit b417bd5be4
6 changed files with 162 additions and 4 deletions

View File

@@ -6,7 +6,8 @@
"geoip": {},
"geosite": {},
"rules": [],
"final": ""
"final": "",
"auto_detect_interface": false
}
}
```
@@ -21,4 +22,14 @@
#### final
Default outbound tag. the first outbound will be used if empty.
Default outbound tag. the first outbound will be used if empty.
#### auto_detect_interface
!!! error ""
Linux only
Bind outbound connections to the default NIC by default to prevent routing loops under Tun.
Takes no effect if `outbound.bind_interface` is set.