I have a home server (Raspberry Pi) and I want to allow only a specific IP address to access to the sites. Because I have Dynamic IP address I use a DDNS service and my IP is automatically updated every time with a cron script. How I can set a firewall rule at CloudFlare to block everyone and allow only the specific IP address every time of my DDNS?
In firewall rules has the option of IP address, is any method-trick to change automatically with a API this IP address to the new IP every time? Any method?