Updating UFW with a DDNS

3 indigodaddy 2 8/17/2025, 8:59:48 PM sunbreaker.io ↗

Comments (2)

roscas · 3h ago
Nice work. I do this on the router, but this is also a great solution.
indigodaddy · 3h ago
Just FYI, this isn't about updating the DDNS record itself, it's about only allowing through ssh connections from a source IP that dynamically changes via DDNS-- for this you need a mechanism to update the $tables rules after DDNS changes (eg, I only want to allow ssh to my vps from my home DDNS external IP address).

If you already realized this then I misunderstood your comment and I apologize!