Backup and configuration files for my home network infrastructure, including DNS, log aggregation, monitoring, and other network services.
Passwords labeled CHANGEME must be changed manually in the following files: - Pihole remove.env - NFACCTD nfacctd.conf - Grafana remove.env - Grafana datasources.yml - postges/inidb/01-pmacct-create-db.pgsql - postgre remove.env For files named remove.env change the name so it is just .env
- Run bootstrap-network.sh
- Run bootstrap-mkcert.sh a. run mkcert -CAROOT b. copy rootCA.pem and add it to your user machine (what ever pc you use normally)
- Run docker compose for Vector , Pihole , Unbound , Caddy , & PMACCT
- set up logrotate
- Run bootstrap-network.sh
- Run docker compose on Loki , Grafana , Postgre
- Configure LogRotate
- Sign into database in grafana
- set up cronjob to clear database in /observability/postgres/postgreScripts/deleteoldPmacctDb.sh (instructions in file)
- Install OpenWRT (or other opensource router like DD-WRT or ASUS-Merlin)
- Configure static ips for monitor (192.168.1.14) and observer (192.168.1.16) server
- Install & Configure Softflowd for netflow to point at monitor server pmacct udp port 2055
- Configure router to export logs to monitor server vector udp port 5140
- Add cert from mkcert to your system