Software

rwfc — Rust Windows Firewall Control

Version 0.1.0 · MIT

Manages Windows Defender Firewall rules with a focus on automation: wildcard rules for programs, filter profiles, notifications, block lists — through a UI, a CLI or as an MCP server for AI agents.

Screenshots

Overview: blocked attempts per hour and day, most blocked programs and destinations (addresses blurred)
Wildcard rule for all build outputs below a folder
Firewall rules with filters by origin, direction and action, rule details on the right
Blocked connections with program, destination and count, allow directly or turn into a wildcard
Network monitor: live traffic, data per program and connections (hosts and addresses blurred)
Block lists: Spamhaus DROP, FireHOL Level 1, abuse.ch Feodo and MalwareBazaar, plus your own exceptions
Change log with action, client and reason
Settings: online lookups and notification exceptions

Description

rwfc is meant to replace Binisoft Windows Firewall Control and focuses on automation:

  • Wildcard rules for programs such as C:\Users\…\code\**\target\*\*.exe: rwfc creates a firewall rule for every matching program, including programs that appear later (file watching, with blocked connections as a fallback).
  • Filter profiles High, Medium, Low and Off — opt-in and fully reversible —, notifications for blocked programs (allow or block, permanently or for a while) and a learning mode that lets signed programs through without asking.
  • Rule watcher: new or changed firewall rules of other programs are reported; you confirm or disable them. Nothing is removed behind your back.
  • Block lists (Spamhaus DROP, FireHOL Level 1, abuse.ch Feodo) and MalwareBazaar for programs with a known SHA-256; private networks and your own exceptions are never blocked.
  • Insight into programs: description, vendor, signature, architecture, checksum — and an overview with charts of what was blocked.
  • CLI rwfc and MCP server rwfc-mcp for scripts and AI agents. The MCP server may only read until a human lifts the write lock in an elevated shell.
  • Change log with client and reason, and a full reset that removes only rwfc's rules.

Specified with Spec Kit, twelve feature specifications from firewall control to the network monitor. Status: MVP.

Overview: blocked attempts per hour and day, most blocked programs and destinations (addresses blurred) Wildcard rule for all build outputs below a folder Firewall rules with filters by origin, direction and action, rule details on the right Blocked connections with program, destination and count, allow directly or turn into a wildcard Network monitor: live traffic, data per program and connections (hosts and addresses blurred) Block lists: Spamhaus DROP, FireHOL Level 1, abuse.ch Feodo and MalwareBazaar, plus your own exceptions Change log with action, client and reason Settings: online lookups and notification exceptions

Get it

Git

git clone https://code.jeanavril.com/jean/rwfc