SafeLine
SafeLine is a self-hosted web application firewall (WAF) that protects your web apps from attacks and exploits.
Platform availability
Available on 1 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
76/100 Good
- Maintained
- 87last commit 42 days ago
- Popular
- 8723,531 GitHub stars
- Easy to install
- 251 install platform, install notes
- Light to run
- 701 GB minimum RAM
- Security check
- 94no serious findings, 1 minor, CI, tests
Availability: platform listings confirmed today
- GitHub stars
- 23,531
- Open issues
- 51
- Last commit
- 2026-10-22
- Latest release
- v9.4.7
- License
- GPL-3.0
- Activity
- stale
Checked today - source: GitHub (chaitin/SafeLine)
Resources & Compatibility
Minimum requirements: 1 GB RAM, 1 CPU core(s), 5 GB disk.
Checked today - source: Docker Hub image tags and published docs
First-install notes
- Missing folders cause startup errors Before running the MCP server with 'docker compose up -d', create any folders you plan to mount into the container yourself — Docker Compose refuses to auto-create missing mount paths and the container will fail to start. source
- The web port is local-only by default The MCP server's port only listens on your own machine (loopback) unless you set MCP_PUBLISH_ADDRESS. If you want to reach it from other devices on your network, change that setting — otherwise nothing outside the server can connect. source
- Where SafeLine's settings live On a default install, SafeLine keeps its Docker Compose file (which controls port mappings) in /data/safeline — go there to adjust which ports the firewall listens on. source
- Getting started SafeLine installs with a single command via its official install script (Docker-based). By default the web management port is local-only, so adjust the configuration if you need remote access to the dashboard. source
Fetched today - each note links to its source
Variants
Alternatives (4)
- BunkerWeb - BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
- Cloudflare - Protects websites with front-end proxy, dynamic DNS, CDN, and firewall; blocks DDoS and targeted attacks, optimizes traffic, and analyzes t…
- Corvus - Self-hosted reverse proxy and web application firewall with a web console; it provides domain forwarding, free SSL, live traffic monitoring…
- UUSEC WAF - UUSEC WAF is a free, open-source web application and API firewall that protects websites against attacks including zero-day threats using A…
Checked today - source: AlternativeTo
Common questions
Can SafeLine run behind or alongside an existing reverse proxy like Nginx or Traefik?
SafeLine itself is a Nginx-based reverse proxy, so you typically point it at your backend apps and place it in front of them rather than behind another proxy. There's also an ingress-nginx integration documented for use in Kubernetes environments.
Where do I change the ports SafeLine listens on after installation?
On a default install, SafeLine keeps its Docker Compose file (which controls port mappings) in /data/safeline — edit the file there to adjust which ports the firewall listens on.
The management/dashboard port seems unreachable from other machines — why?
The web management port listens only on loopback (localhost) by default. To access the dashboard remotely you need to change the publish address setting in the configuration.
Is SafeLine free, and does the Community Edition have telemetry or per-GB pricing?
The Docker-based Community Edition is completely free, with no call-home telemetry and no per-GB pricing.
How does SafeLine handle bots and brute-force/DoS traffic?
It offers multi-layer bot protection including CAPTCHA challenges, dynamic protection, and anti-replay protection, plus IP-based rate limiting to throttle DoS, brute-force, and traffic surges.
Answers sourced from docs.waf.chaitin.com, github.com, github.com, ly.cyberserval.tech, www.valtersit.com
Community
- SafeLine – a self-hosted WAF to protect your web apps from attacks and exploits (forum)
- I built a WAF in Go with much higher detection rate than CF (Free) (forum)
- Has Anyone Tried Safeline WAF? Thoughts and Experiences? (forum)
- Has anyone tried the free web application firewall, SafeLine? (forum)
- Safe Line Metal Detaector from Mettler Toledo | Page 2 | PLCtalk ... (forum)
- Industrial Metal Detection : r/IndustrialMetalDetect - Reddit (reddit)
Collected today - public community threads