Use API to create windows firewall rule

This commit is contained in:
世界
2023-05-20 12:13:23 +08:00
parent 1ba267ed23
commit db4d86e5ea
6 changed files with 52 additions and 63 deletions

View File

@@ -53,9 +53,8 @@
"server_port": 8080
}
},
"experimental_fix_windows_firewall": false,
...
// Listen Fields
... // Listen Fields
}
```
@@ -181,10 +180,10 @@ Exclude users in route, but in range.
Limit android users in route.
| Common user | ID |
|--------------|----|
| Main | 0 |
| Work Profile | 10 |
| Common user | ID |
|--------------|-----|
| Main | 0 |
| Work Profile | 10 |
#### include_package
@@ -202,12 +201,6 @@ Platform-specific settings, provided by client applications.
System HTTP proxy settings.
#### experimental_fix_windows_firewall
Automatically add Windows firewall rules in order for the system stack to work.
This causes some start delays and does not work with existing firewall rules.
### Listen Fields
See [Listen Fields](/configuration/shared/listen) for details.

View File

@@ -53,9 +53,8 @@
"server_port": 8080
}
},
"experimental_fix_windows_firewall": false,
...
// 监听字段
... // 监听字段
}
```
@@ -179,8 +178,8 @@ TCP/IP 栈。
限制被路由的 Android 用户。
| 常用用户 | ID |
|------|----|
| 您 | 0 |
|--|-----|
| 您 | 0 |
| 工作资料 | 10 |
#### include_package
@@ -199,12 +198,6 @@ TCP/IP 栈。
系统 HTTP 代理设置。
#### experimental_fix_windows_firewall
自动添加 Windows 防火墙规则,以使 system 栈正常工作。
这会导致一些启动延迟,并且无法与现有防火墙规则一起使用。
### 监听字段
参阅 [监听字段](/zh/configuration/shared/listen/)。