Tailnet Tripwire

Private network monitoring

A quiet alert when a decoy is touched.

Put a small TCP tripwire on your Headscale or Tailscale network. If someone connects to a port nobody should be using, you’ll know where to look.

Install & use
Example · not live activity
14:32:08 UTCConnection accepteddecoy.example · TCP 443

Example phone notification now

Honeypot alert

decoy.example recorded a new connection on TCP 443.

The phone message is optional. Use your own private notification channel.

How it works

  1. 01 / Listen privately

    Bind an unused port on a dedicated mesh guest. There’s no real SSH or HTTPS service behind it.

  2. 02 / Record the connection

    A completed TCP handshake creates a metadata-only event. The tripwire closes the socket without reading the payload.

  3. 03 / Send a heads-up

    Read hits locally or forward them from a trusted collector. Keep notification credentials off the decoy.

Install & use

See your first hit.

You’ll need Go and nc. The GitHub repository is public and MIT-licensed. No tailnet or notification account is needed for this local test.

Deploy on Headscale or Tailscale
Set up notifications

Terminal 1 · Clone the repo and start the listener

git clone https://github.com/automatethething/tailnet-tripwire.git
cd tailnet-tripwire
go run . -journal

Terminal 2 · Make a zero-byte connection

nc -z -4 localhost 22222

Terminal 1 should print tripwire hit:. This local test does not send a phone alert.