Dnxfirewall
DNXFIREWALL® and DAD'S NEXT-GEN FIREWALL™, a C/CPython hybrid next generation firewall built on top of Linux and bound to kernel/ netfilter hooks for packet control.
Install / Use
/learn @DOWRIGHTTV/DnxfirewallREADME
-
(*1) the dns proxy is specifically designed to inspect dns payload going between internal networks or from the lan to internet.
-
(*2) the ids/ips is specifically designed (for now at least) to only inspect traffic from the internet to the lan networks.
- this decision is based on the fact that 99.99% (generalization) of threats in this space will source from the internet.
<strong>NEW: sqlite3 is now the default database in use (to simplify deployments). postgresql is still present on the backend and will be able to be enabled during system deployment in a future release.</strong>
<strong>NEW: Auto deployment utility (autoloader) is now live. This should be used to deploy the system on any compatible distro. See compatible distro list for more details. </strong>
<strong>NEW: full zone based firewall rules (source and destination) and per rule based security profiles.</strong>
-
Custom packet handler
- implemented in C
- stateful or stateless packet inspection
- complex packet decisions (defer packet action to security modules)
-
DNS proxy (outbound or cross lan networks)
- category based blocking (general, TLD, substring matching)
- user added whitelist/blacklist or custom general category creation
-
DNS server (recently detached from dns proxy, but shares process resources)
- native DNS over TLS conversion with optional UDP fallback
- local dns server (authoritative via packet manipulation)
- automatic software failover
- 2 levels of record caching
-
IP proxy (transparent) bi-directional
- reputation based host filtering (detection implemented in C)
- geolocation filter (country blocking, detection implemented in C)
-
IPS/IDS (inbound)
- denial of service detection/prevention
- portscan detection/prevention
-
Lightweight DHCP server (native software)
- ip reservations
- interface level control (enable/disable)
- security alert integration
-
General Services
- log handling
- database management
- syslog client (UDP, TCP, TLS) IMPORTANT: currently unusable state due to many internal breaking api changes. this service will not be enabled by default.
-
Additional Features
- IPv6 disabled
- DNS proxy bypass prevention
- DNS over HTTPs restricted
- DNS over TCP restricted
- DNS over TLS restricted
- Modern webui for administration
- custom shell utility for system level maintenance
- includes built in system (dnxfirewall) updater for 1 click updates
-
select linux distro on compatible distro list (see below)
-
install linux on physical hardware or a VM
2a. (3) interfaces are required (WAN, LAN, DMZ)
2b. create "dnx" user during os install or once complete
2c. install and make python3.8 default (if applicable)
-
upgrade and update system
-
install git
-
clone https://github.com/dowrighttv/dnxfirewall.git to "dnx" user home directory (/home/dnx)
-
log in as "dnx" user and run command: sudo python3 dnxfirewall/dnx_run.py cli autoloader
-
follow the prompts to associate the physical interfaces with dnxfirewall builtin zones
-
once the utility is complete, restart the system and navigate to the specified url
- Debian based distros
- Linux kernel >= 2.6.31
- Python 3.8+
- netplan (ubuntu interface/network manager)
https://www.ip2location.com/free/visitor-blocker | geolocation filtering datasets (ip address assignments by country)
https://gitlab.com/ZeroDot1/CoinBlockerLists | cryptominer host dataset
<bold>psql only:</bold> https://github.com/tlocke/pg8000 | pure python postgresql adapter
Related Skills
healthcheck
348.5kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
348.5kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
