# Apply config with full safety net
$ -weight: 600;">sudo nftguard hot-apply /etc/nftables.conf
[nftguard] Syntax OK
[nftguard] 142 rules, 8 chains, 2 tables
[nftguard] Diff: +3 new, -1 removed, 138 unchanged
[nftguard] Retention: 97.2% (above 60% threshold)
[nftguard] Snapshot #47 saved # Oh no, something broke
$ -weight: 600;">sudo nftguard rollback
[nftguard] Restored snapshot #46 (2 seconds ago) # Check what happened
$ -weight: 600;">sudo nftguard compare 46 47
[nftguard] 3 rules added, 1 rule removed
# Apply config with full safety net
$ -weight: 600;">sudo nftguard hot-apply /etc/nftables.conf
[nftguard] Syntax OK
[nftguard] 142 rules, 8 chains, 2 tables
[nftguard] Diff: +3 new, -1 removed, 138 unchanged
[nftguard] Retention: 97.2% (above 60% threshold)
[nftguard] Snapshot #47 saved # Oh no, something broke
$ -weight: 600;">sudo nftguard rollback
[nftguard] Restored snapshot #46 (2 seconds ago) # Check what happened
$ -weight: 600;">sudo nftguard compare 46 47
[nftguard] 3 rules added, 1 rule removed
# Apply config with full safety net
$ -weight: 600;">sudo nftguard hot-apply /etc/nftables.conf
[nftguard] Syntax OK
[nftguard] 142 rules, 8 chains, 2 tables
[nftguard] Diff: +3 new, -1 removed, 138 unchanged
[nftguard] Retention: 97.2% (above 60% threshold)
[nftguard] Snapshot #47 saved # Oh no, something broke
$ -weight: 600;">sudo nftguard rollback
[nftguard] Restored snapshot #46 (2 seconds ago) # Check what happened
$ -weight: 600;">sudo nftguard compare 46 47
[nftguard] 3 rules added, 1 rule removed
cargo -weight: 500;">install nftguard
cargo -weight: 500;">install nftguard
cargo -weight: 500;">install nftguard
-weight: 500;">git clone https://github.com/OnCeUponTry/NFTGUARD.-weight: 500;">git
cd NFTGUARD
cargo build --release
-weight: 600;">sudo -weight: 500;">install -m 755 target/release/nftguard /usr/local/sbin/nftguard
-weight: 500;">git clone https://github.com/OnCeUponTry/NFTGUARD.-weight: 500;">git
cd NFTGUARD
cargo build --release
-weight: 600;">sudo -weight: 500;">install -m 755 target/release/nftguard /usr/local/sbin/nftguard
-weight: 500;">git clone https://github.com/OnCeUponTry/NFTGUARD.-weight: 500;">git
cd NFTGUARD
cargo build --release
-weight: 600;">sudo -weight: 500;">install -m 755 target/release/nftguard /usr/local/sbin/nftguard - Pure Rust, single binary, ~600KB stripped
- Zero runtime dependencies — no Python, no Node, no databases
- Snapshots are plain JSON with full metadata (timestamp, SHA-256, chain/table info, per-rule fingerprints)
- Runs as a oneshot systemd -weight: 500;">service before network-pre.target
- Apache-2.0 licensed — use it anywhere, including commercial infrastructure - GitHub: OnCeUponTry/NFTGUARD
- crates.io: nftguard