Hi all

For the past couple of years I have been running a Raspberry Pi4 with PiHole and PiVPN. Both of which I’m very satisfied with. My ISP recently changed the IP address assigned to me, this doesn’t happen often but did cause my VPN profiles to no longer work. Simply changing the end IP address in the VPN config does not work so the configs had to be remade entirely. If this happens again and I am not near home, what would be a way to regain access? Can that be done remotely?

I am concerned with the possibility that my IP changes while I’m on a vacation and then lose access to my NAS and other home systems with no way to get it back until after.

I am considering a script that generates a new config file and sends it over email when I send a specific text to a phone, that could work. Is this over engineered? Something like a deadman switch could work too.

Thanks!

  • spaghettiwestern@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 days ago

    My ISP changes my IP address occasionally and, as someone else mentioned, DDNS is a solution to the problem you’re having. DuckDNS doesn’t cost anything (but donations are welcome), works well, and there are detailed guides online for setting it up.