initial commit

This commit is contained in:
ray
2026-07-12 10:17:17 -04:00
commit dab5a4ebc6
1424 changed files with 330463 additions and 0 deletions
@@ -0,0 +1,22 @@
# DuckDNS VPS Routing Fix
When routing `grajmedia.duckdns.org` through the VPS reverse proxy, the DuckDNS
update script MUST target the VPS IP, not auto-detect the home server IP.
## Problem
The DuckDNS update script at `/opt/duckdns/update.sh` used `&ip=` (empty, auto-detect),
so DuckDNS recorded the home server's public IP (`162.81.173.34`) instead of the
VPS IP (`51.81.84.34`). Traffic was bypassing the VPS entirely.
## Fix
Hard-code the VPS IP in the update script:
```bash
#!/bin/bash
echo url="https://www.duckdns.org/update?domains=grajmedia&token=TOKEN&ip=51.81.84.34" | curl -k -s -o /opt/duckdns/duck.log -K -
```
Also check `/etc/hosts` for local overrides like `127.0.0.1 grajmedia.duckdns.org`
(kept for local access to avoid hairpin NAT).