SamWaf on Ubuntu 24.04 LTS by cloudimg
by cloudimg
A lightweight self hosted web application firewall with a web admin console, by cloudimg
SamWaf Web Application Firewall on Ubuntu 24.04 LTS
SamWaf is a lightweight, open source, self hosted web application firewall. It sits in front of your web applications as a reverse proxy, inspecting traffic for SQL injection, cross site scripting, remote command execution, path traversal and scanner activity, and gives you a web admin console for defining protected hosts, IP and URL allow/block lists, CC (rate-limit) protection against bots and scrapers, and automatic ACME TLS certificates. Everything is stored in a single embedded, encrypted SQLite database - there is no separate database service to run or secure.
What the cloudimg image gives you
- SamWaf 1.3.23 (Apache 2.0) installed from the official release binary, running as a systemd service under a dedicated unprivileged user
- The admin console on port 26666
- A unique administrator account generated on first boot - upstream's own fresh-install bootstrap creates it, and the mandatory first-login password change is completed automatically by cloudimg's first-boot automation before you ever sign in
- AmbientCapabilities=CAP_NET_BIND_SERVICE so you can bind protected hosts to ports below 1024 without running as root
- The full Apache License 2.0 text shipped in the image
- A paired step-by-step deployment guide and 24/7 cloudimg support
Licensing - open source, FREE. SamWaf is Apache 2.0. No per-seat or per-user fee. The cloudimg charge ($0.04 per vCPU/hour) covers packaging, security patching, image maintenance and 24/7 support.
Recommended size: Standard_B2s - SamWaf is a single lightweight binary with an embedded database. Prerequisites: an Azure subscription, a VNet and an SSH key; the NSG should permit port 22 (SSH) from your admin network and port 26666 for the admin console.
Deployment guide: https://www.cloudimg.co.uk/guides/samwaf-azure/
cloudimg is not affiliated with, endorsed by, or sponsored by the SamWaf project.