Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
SafeLine

SafeLine

SafeLine is an open-source web application firewall. ML-based threat detection, easy setup, and a clean admin dashboard. Built by Chaitin Tech, focused on bot protection and zero-day attack detection. The most-starred open-source WAF on GitHub.

At a glance

21.6k

GitHub stars

71

Page views

105

Active installs

License GPL-3.0 Version Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

Active installs is sample data (staging preview); real metric wires in before launch.

Access SafeLine

  • Open your browser and visit: https://<SERVER_IP>:9443
  • A browser SSL warning is expected (self-signed certificate)

Get Admin Credentials

Run the following command to retrieve/reset admin credentials:

docker exec safeline-mgt resetadmin

Important Files and Directories

  • Install directory: /opt/safeline
  • Env file: /opt/safeline/.env
  • Docker Compose: /opt/safeline/docker-compose.yml
  • PostgreSQL data: /opt/safeline/resources/postgres/data
  • Management data: /opt/safeline/resources/mgt
  • Detector data: /opt/safeline/resources/detector
  • Nginx config: /opt/safeline/resources/nginx
  • Cache: /opt/safeline/resources/cache
  • Chaos engine: /opt/safeline/resources/chaos
  • Socket files: /opt/safeline/resources/sock
  • Logs: /opt/safeline/logs/

Manage the Stack

cd /opt/safeline

# View running containers
docker ps

# View logs
docker compose logs -f

# Restart services
docker compose restart

# Stop stack
docker compose down

# Start stack
docker compose up -d

More in Security

Related apps.

Deploy SafeLine now. From $2.48/mo.