Add gluetun endpoint watcher (5-minute systemd timer)

When gluetun is unhealthy, re-dig the WireGuard peer hostname, update
wg0.conf Endpoint, recreate gluetun then qbittorrent, and verify the
VPN exit IP. Keeps torrent path alive when provider endpoints rotate.
This commit is contained in:
tim 2026-07-22 11:18:39 -07:00
parent b55754ee49
commit 218e64314d
8 changed files with 249 additions and 1 deletions

View file

@ -15,6 +15,10 @@ DATA_DIR=./data
# gluetun's firewall. If your machine is 192.168.1.50, use 192.168.1.0/24
LAN_SUBNET=192.168.1.0/24
# WireGuard peer hostname (used by scripts/gluetun-endpoint-watch.sh when gluetun is unhealthy)
WIREGUARD_ENDPOINT_HOST=las-183-wg.whiskergalaxy.com
WIREGUARD_ENDPOINT_PORT=443
# =============================================================================
# Local AI (Ternary-Bonsai-27B on SER5 PRO / Ryzen 7735HS)
# =============================================================================