I just moved to a new location and signed up for Verizion FIOS. Turns out they don't give out static ip addresses to their customers unless you sign up for their (expensive) business plan.
In the old situation I added my own IP address to csf.allow for WHM port 2087 (and block all other ip's)
Now that my IP will be changing from time to time (week to a month it says), is there something else I can do to only allow access to certain ports from my own (dynamic) IP address?
Somehow auto-update csf.allow with my current ip address maybe?
csf.allow - dynamic ip address (ISP)
Add the domain name you have to /etc/csf/csf.dyndns and then enable the DYNDNS option in /etc/csf/csf.conf (e.g. set it to 600) and restart csf:
csf -r
service lfd restart
If you're domain name pointing to the IP address always changes, then you'll need to look at using a third-party service to obtain a static domain pointing to the non-staic IP address, e.g.: http://www.dyndns.org
csf -r
service lfd restart
If you're domain name pointing to the IP address always changes, then you'll need to look at using a third-party service to obtain a static domain pointing to the non-staic IP address, e.g.: http://www.dyndns.org
Re: csf.allow - dynamic ip address (ISP)
can anyone, add some sample code for adding that domain to csf.dyndns and also how to enable DYNDNS?!!