Quick Start
Get CloakProbe up and running on your server in just a few minutes.
Prerequisites
Section titled “Prerequisites”- Linux server (Ubuntu, Debian, Fedora, etc.)
- Root or sudo access
curlinstalled
Installation
Section titled “Installation”-
Run the installation script
Terminal window curl -fsSL https://raw.githubusercontent.com/drmckay/cloakprobe/main/install.sh | sudo bashThis automatically:
- Detects your system architecture (x86_64 or aarch64)
- Downloads the latest release from GitHub
- Installs to
/opt/cloakprobe - Creates configuration at
/etc/cloakprobe/cloakprobe.toml - Creates a
cloakprobesystem user - Sets up the systemd service
-
Download the ASN database
Terminal window sudo /opt/cloakprobe/scripts/update_asn_db.shThis downloads the IP-to-ASN mapping database (~15MB) that enables network lookups.
-
Download the multi-RIR organization database (optional but recommended)
Terminal window sudo /opt/cloakprobe/scripts/update_org_db.shThis adds organization details (name, ID, type, country, abuse contact) from all 5 Regional Internet Registries (RIPE, APNIC, LACNIC, AFRINIC, ARIN).
-
Configure CloakProbe (optional)
Terminal window sudo nano /etc/cloakprobe/cloakprobe.tomlKey settings:
[server]bind_address = "127.0.0.1" # Listen on localhost onlyport = 8080mode = "cloudflare" # or "nginx" for direct proxy[privacy]mode = "strict" -
Start the service
Terminal window sudo systemctl start cloakprobe -
Verify it’s running
Terminal window curl http://localhost:8080/healthz# Should return: {"status":"ok"}
Test It Out
Section titled “Test It Out”Open http://your-server:8080 in a browser to see the HTML interface.
curl http://localhost:8080/api/v1/json | jqcurl http://localhost:8080/api/v1/plainService Management
Section titled “Service Management”# Check statussudo systemctl status cloakprobe
# View logssudo journalctl -u cloakprobe -f
# Restart servicesudo systemctl restart cloakprobe
# Stop servicesudo systemctl stop cloakprobeConfiguration File
Section titled “Configuration File”CloakProbe uses a TOML configuration file at /etc/cloakprobe/cloakprobe.toml:
[server]bind_address = "127.0.0.1"port = 8080mode = "cloudflare" # "cloudflare" or "nginx"region = "eu-central" # optional
[privacy]mode = "strict" # "strict" or "balanced"
[database]asn_db_path = "/opt/cloakprobe/data/asn_db.bin"org_db_path = "/opt/cloakprobe/data/orgs_db.bin"