Covee

Set up your network

covee setup builds a complete network on a server you choose, sign-in included. It asks its questions first, shows a summary, and changes nothing until you confirm it; a few confirmations come later, during the run, such as accepting Let's Encrypt's agreement. It takes about fifteen minutes, most of it building the services on the server.

1. Prepare a server

Choose one:

The server is dedicated to Covee: setup replaces its SSH access with a covee account and a key it creates, and installs a firewall that admits only SSH from the networks you allow, plus TCP 443, UDP 3478 and ping.

2. Choose a name

Pick a hostname on a domain you own, such as covee.example.com. Devices get names under a suffix that defaults to mesh.example.com. If your DNS is in Route 53 or Cloudflare, covee creates and updates the records itself:

With any other DNS host, covee shows the records to add and waits until they resolve.

3. Choose how people sign in

4. Run setup

covee setup

You will be asked for:

After your confirmation, setup creates the server's login key, registers sign-in, sets the DNS record, gets a free Let's Encrypt certificate (it asks before accepting their Subscriber Agreement), hardens the server, installs Docker, builds and starts the services, and checks that the network answers. If anything fails, fix the cause and run covee setup <network> again: it continues where it stopped.

When it finishes:

Network home is running at https://covee.example.com.

5. Check it

covee status <network>     # services, certificates and secrets, with days left
covee console <network>    # the admin console, through an SSH tunnel

The admin console opens at https://localhost:8444; your browser warns about its private certificate the first time, which is expected. Sign in with an administrator account. Devices in the network can also open it at https://console.<suffix>, with a normal certificate.

A new network allows no traffic between devices until you add a rule for it in the console. Connect your devices shows how.

Moving to another server

covee backup <network> saves an encrypted backup. covee setup, choosing "A backup of a network", rebuilds the network on a new server from it, with every device, account and setting; devices follow on their own once the DNS record moves.

Suggest a change to this page