SSH Login Problem with CSF because of Dynamic IP
Posted: 28 Aug 2020, 15:03
Hello everybody,
I use the CSF as a firewall on my VPS.
But since I don't have a static IP, every time I get a new IP, I first have to log in via the KVM console and whitelist my new IP and only then can I connect to SSH via putty.
Can I somehow share all connections on SSH port 22 so that I can save myself the trouble?
I have already added the following rule to the /etc/csf/csf.allow file and started CSF (csf -r) but still doesn't help ..
tcp|in|d=22|s=0.0.0.0/0 # Enable all connections to SSH
Does anyone have an idea how I can solve the problem?
I use the CSF as a firewall on my VPS.
But since I don't have a static IP, every time I get a new IP, I first have to log in via the KVM console and whitelist my new IP and only then can I connect to SSH via putty.
Can I somehow share all connections on SSH port 22 so that I can save myself the trouble?
I have already added the following rule to the /etc/csf/csf.allow file and started CSF (csf -r) but still doesn't help ..
tcp|in|d=22|s=0.0.0.0/0 # Enable all connections to SSH
Does anyone have an idea how I can solve the problem?