Skip to main content
If other computers need to connect to your app, for example to a local server it runs, Windows Firewall may block them. [[firewall]] adds a rule that allows it. It needs installer.scope = "machine".
bach.toml
Rules only allow traffic; Bach doesn’t add blocking rules. A rule is added after the files are in place, replacing an older one with the same name, and removed on uninstall. The removal matches the rule’s program, direction, protocol and ports, so another program’s rule with the same name stays. bach build --msi refuses apps with firewall rules. bach inspect shows them as Firewall. Windows only.