Run Velocidex Velociraptor server with Docker and a reverse proxy (Traefik), utilizing CloudFlare DNS and Let's Encrypt certificates.
Credit to weslambert for the docker image.
- Cloudflare account (required for Let's Encrypt Certificates and creating DNS entries)
- Create wildcard(*) CNAME for the root of your domain
- Create API token with permissions Zone.Zone Settings, Zone.Zone, Zone.DNS
- Make sure to copy token as it is only displayed once
- Create API key
cd /Docker-Velo/scripts
- Run
./install.sh
# WILL PROMPT FOR SUDO PASSWORD IF NEEDED - Script will prompt you for Domain Name, Cloudflare email address, cloudflare API key and Token.
./addnew.sh
- Enter name of instance, this will be used to create the sub domain entering
test
will give youtest-velo.$DOMAINNAME
and your docker instance will be namedtest-velo
- It will ask you to enter in the Admin username you want to use, it will auto generate a password and display it at end of script.
- once completed it will spit out username and password for the instance and you will be able to browse and login to your new instance.
- In scripts folder run
./remove.sh
- It will ask you the name of the instance, ie: if instance name is
test-velo
, you simply entertest
.