Skip to content

Quickstart

Get a Vespid agent protecting a single node in under 10 minutes, then optionally add the centralized server for fleet management.

1. Install the agent

sudo dpkg -i vespid_1.0.0_all.deb
sudo apt-get install -f   # resolve dependencies
sudo rpm -ivh vespid-1.0.0-1.noarch.rpm
sudo python3 -m pip install .
sudo install -d -m 0750 /etc/vespid /var/lib/vespid /var/log/vespid

2. Verify prerequisites

sudo nft list ruleset   # nftables must be available
sudo vespid --check-config

3. Start the daemon

sudo systemctl start vespid
sudo systemctl enable vespid

4. Verify it's working

sudo vespid-cli status
sudo vespid-cli list-local
sudo vespid-cli counters

The agent immediately begins tailing local logs, detecting brute-force attacks, and managing nftables blocklists.

5. (Optional) Add the server

Install the server on a dedicated host for centralized event management, fleet-wide blocklist sharing, and a web dashboard.

sudo dpkg -i vespid-server_1.0.0_all.deb
sudo apt-get install -f
sudo rpm -ivh vespid-server-1.0.0-1.noarch.rpm
cd vespid-server/
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python vespid_server.py init-db
python vespid_server.py create-admin
python vespid_server.py

Create an admin user and start the server:

sudo vespid-server create-admin
sudo systemctl start vespid-server
sudo systemctl enable vespid-server

6. Connect agent to server

Create an API key in the server dashboard (Admin → API Keys), then add it to the agent config:

# /etc/vespid/vespid.yaml
SERVER_URL: "https://your-server"
API_KEY: "hg_your_api_key_here"

Restart the agent:

sudo systemctl restart vespid

The agent auto-registers on first heartbeat. Verify in the dashboard under Security → Nodes.

7. (Optional) Enable auto-enrollment

Instead of manually creating API keys, enable auto-enrollment on the server so agents provision their own credentials:

# /etc/vespid/vespid.yaml
SERVER_URL: "https://your-server"
API_KEY: ""

See the Auto-Enrollment Guide for details on enrollment modes and approval workflows.

What's next?