Windows Firewall
Interact with the Windows Firewall from Rust. Bindings for Windows Firewall, with clean & simple API for use with Rust.
This crate can perform the following:
- Enumerate the Windows firewall rules
- Add/Create a new Windows firewall rule
- Delete an existing Windows firewall rule
- Disable an existing Windows firewall rule
Usage
Cargo.toml:
[]
= "0.1.8"
main.rs:
use get_fw_rules;
running the example
- Show/list all configured firewall rules
- Add a new firewall rule
- Delete a firewall rule
- Disable a firewall rule
Requirements
- Rust 1.50+
- VS 2019 community edition
License: MIT/Apache 2.0