Skip to content

Latest commit

 

History

History

unify-dream-machine

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

UniFi Dream Machine (UDM) hacks

Starting article:

Main links:

Follow-up links:

Applications related to UDM

API endpoints on the UniFi controller

Traffic Analysis and Flows Tracking

Works nicely with on-boot-script from udm-utilities repo, 30-ntopng.sh example:

#!/bin/sh
CONTAINER=ntopng

if podman container exists ${CONTAINER}; then
  podman start ${CONTAINER}
else
  logger -s -t ntopng -p ERROR Container $CONTAINER not found, make sure you set the proper name
fi

Homebridge on UDM

Pi-hole on UDM

curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/cni-plugins/05-install-cni-plugins.sh -o /mnt/data/on_boot.d/05-install-cni-plugins.sh
curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/dns-common/on_boot.d/10-dns.sh -o /mnt/data/on_boot.d/10-dns.sh
curl -L https://raw.githubusercontent.com/boostchicken/udm-utilities/master/cni-plugins/20-dns.conflist -o /mnt/data/podman/cni/20-dns.conflist

## Create network as mentioned in the guide, edit 10-dns.sh and 20-dns.conflist to use 10.20.5.3 address

podman network ls
podman run -d --network dns --restart always \
    --name pihole \
    -e TZ="Europe/Prague" \
    -v "/mnt/data/etc-pihole/:/etc/pihole/" \
    -v "/mnt/data/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/" \
    --dns=127.0.0.1 \
    --dns=1.1.1.1 \
    --dns=8.8.8.8 \
    --hostname pi.hole \
    -e VIRTUAL_HOST="pi.hole" \
    -e PROXY_LOCATION="pi.hole" \
    -e ServerIP="10.20.5.3" \
    -e IPv6="False" \
    pihole/pihole:latest

UnPoller

Telemetry and Observability for your UniFi Network. Nice Grafana dashboards with a lot of (both wired and wireless) networking details.