Skip to Content
HostWall

Introduction

What HostWall is: an open-source, self-hosted web application firewall in one binary, with a reverse proxy, OWASP CRS, automatic HTTPS and a dashboard.

Note

HostWall is in v0.x: the first public releases. It works end to end, but it's new. Start every site in monitor mode, and keep an eye on the changelog. These docs are labeled v1 so their addresses stay the same as HostWall grows.

What is HostWall?

HostWall is an open-source, self-hosted web application firewall (WAF). It sits in front of your websites and APIs, inspects every request, and stops attacks such as SQL injection, cross-site scripting and path traversal before they reach your app.

It ships as one binary that contains everything:

  • a reverse proxy for any number of sites;
  • the OWASP Core Rule Set v4 running on the Coraza engine;
  • automatic HTTPS with free Let's Encrypt certificates;
  • a dashboard for traffic, attacks and exceptions;
  • a CLI for scripts and automation.

The HostWall dashboard overview

How it works

visitor ──► HostWall (:80, :443) ──► your app (localhost:3000)
              │
              ├─ HTTPS certificate
              ├─ inspect the request (OWASP CRS)
              └─ allow, log, or block

Point your domain at the server running HostWall, tell HostWall where your app listens, and HostWall does the rest. Clean requests are passed on to your app with the real client IP. Attacks are logged, and blocked once you switch the site to block mode.

Why HostWall?

  • One file to install. No containers to orchestrate, no database to run. Copy one file to move a server.
  • Light. A single process with a built-in SQLite database, aiming for under 128 MB of RAM for a small site.
  • Safe by default. New sites start in monitor mode. The dashboard listens on localhost only. A bad config never replaces a working one.
  • Plain language. Every event says what the attack is, which rule matched and where.
  • Safe exceptions. "Allow this" fixes a false alarm for one field, one path or one site, never more than you choose.
  • Everything free. Open source, no paid edition, no telemetry, no license keys.
  • Runs anywhere. Linux, macOS and Windows, on x86-64 and ARM64.

What's next

Edit this page on GitHub

On this page