make windows system stack create private interface

This commit is contained in:
Nova 2024-11-28 00:10:06 +03:30
parent 091b5da950
commit f2cce145bc
No known key found for this signature in database
GPG key ID: 389787EC83F5D73A

View file

@ -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,
}