HomeDocsQuickstart

Quickstart

Get FOXWAF up and running in 5 minutes and put your first site behind it.

1. Install

Run as root (the script auto-detects the Docker environment and completes deployment):

curl -fsSL https://server.foxwaf.cn/install.sh | bash

See Download & Install.

2. Log in to the Console

Once installed, open:

http://<server-ip>:8088/fox

Log in with the default credentials fox / fox and change the password immediately on the Account page. For production, also enable:

3. Configure Your First Site

On the Sites page, create a new entry:

  1. Listen: specify the public port, e.g. 0.0.0.0:443 (HTTPS).
  2. SNI / Host: your domain, e.g. www.example.com.
  3. Upstream: the real backend address, e.g. http://10.0.0.10:8000; multiple entries with round-robin / weighted balancing are supported.
  4. Certificate: upload a .crt and a .key — ECDSA / RSA / ShangMi SM2 are supported.

Changes take effect immediately on save (no restart needed).

4. Verify Protection

用一个简单的 XSS payload 验证:

curl -i 'https://example.com/alert(10)'

Normally you should see 403 Forbidden and a matching entry in the Attack Log section of the console.

Next Steps