I have a rented dedicated server that I host certain services on.
For security reasons I made a rule chain that will check against listed DDNS addresses and only connect to the connections that match. It seemed to be better than block or accept by country.
Ex.
-A ACCEPT_PERSONAL -s xxx.dns.com -j ACCEPT
-A ACCEPT_PERSONAL -s yyy.dns.com -j ACCEPT
It worked well for a while, but after a few days all the sudden I couldn't access my server. After some support from the hosting I was able to access via webmin, and found that my DDNS addresses in the iptable have been replaced to actual IPs, and since they have changed for whatever reason.
Any ideas on to what has happened? I have checked the cron jobs, especially weekly but cannot find anything suspicious.
Also I am using Webmin to set the values