mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 03:47:39 +03:00
make windows system stack create private interface
This commit is contained in:
parent
091b5da950
commit
f2cce145bc
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ func fixWindowsFirewall() error {
|
|||
ApplicationName: absPath,
|
||||
Enabled: true,
|
||||
Protocol: winfw.NET_FW_IP_PROTOCOL_TCP,
|
||||
Profiles: winfw.NET_FW_PROFILE2_PRIVATE,
|
||||
Direction: winfw.NET_FW_RULE_DIR_IN,
|
||||
Action: winfw.NET_FW_ACTION_ALLOW,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue