diff --git a/stack_system_windows.go b/stack_system_windows.go index ffa2a09..a2a51cd 100644 --- a/stack_system_windows.go +++ b/stack_system_windows.go @@ -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, }