Add custom route support (#147)

This commit is contained in:
XYenon
2022-10-12 16:20:17 +08:00
committed by GitHub
parent 3f1fe814ef
commit 54af113363
6 changed files with 43 additions and 7 deletions

View File

@@ -14,6 +14,14 @@
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"inet4_route_address": [
"0.0.0.0/1",
"128.0.0.0/1"
],
"inet6_route_address": [
"::/1",
"8000::/1"
],
"endpoint_independent_nat": false,
"stack": "system",
"include_uid": [
@@ -99,6 +107,14 @@ not be accessible by others.
Use segmented `auto_route` routing settings, which may help if you're using a dial-up network.
#### inet4_route_address
Use custom routes instead of default when `auto_route` is enabled.
#### inet6_route_address
Use custom routes instead of default when `auto_route` is enabled.
#### endpoint_independent_nat
!!! info ""