Linux Based Firewall using nftables https://nfsense.net
  • Rust 54.2%
  • Vue 30.6%
  • TypeScript 9.3%
  • CSS 3%
  • Shell 2.7%
  • Other 0.2%
Find a file
Samuel Lorch 48bfa60d08
All checks were successful
/ api-build (push) Successful in 3m32s
/ client-build (push) Successful in 38s
Fix image Artifacts, take 2
2026-02-11 22:21:52 +01:00
.forgejo/workflows Fix image Artifacts, take 2 2026-02-11 22:21:52 +01:00
.zed Go back to eslint formatting from prettier because it sucks 2025-09-22 13:20:15 +02:00
client Basic Update Frontend and Backend 2026-02-09 18:30:50 +01:00
images Add Basic README.md 2025-09-21 01:06:47 +02:00
mkosi build client with build-only 2026-02-11 21:20:52 +01:00
src Dont overwrite config if it already exists 2026-02-11 21:20:17 +01:00
.gitignore Add Image generation. 2026-02-01 17:37:07 +01:00
build-image.sh Imutable build without root and working Updates. 2026-02-09 23:42:50 +01:00
Cargo.lock Implement Serving the frontend 2026-02-01 23:25:30 +01:00
Cargo.toml Add Update checking 2026-02-06 19:57:17 +01:00
install.sh Add VRF Management 2025-10-03 22:43:54 +02:00
LICENSE.md Create LICENSE.md 2023-03-01 11:10:47 +01:00
README.md Add Basic README.md 2025-09-21 01:06:47 +02:00

nfSense

A Linux Based Firewall with nftables

Screenshot of the Forward Rules Table

Development Installation

You can install nfSense for development on a Fresh Debian Trixie System by running the following commands:

cd /opt
git clone https://github.com/speatzle/nfsense.git
cd nfsense
./install.sh

After the Installation is complete you will need to login to the web interface at https://:8080 with the user root and password nfsense. Configure the Network interfaces, your default route and apply the Changes. Otherwise there will be no network connectivity after reboot.

Features

  • Firewall and NAT Rules with Reusable Service and Address Objects Based on nftables
  • Interface and Route Configuration
  • Builtin DHCP, DNS and NTP Servers
  • Wireguard VPN
  • A Commit Based Configuration System with Fast Commits and Rollbacks on Failure, saved to disk in JSON
  • Intuitive Web Interface
  • Written in Memory Safe Rust

Note: nfSense is currently in an early alpha state and is not ready for production use.