I'm new at server management, and wrote an IPTables script for firewall. I'm very concerned about the security of my server, and thus I'm wondering about something that I read often from people using firewalls, which is limiting the source of the SSH connection that comes to the server.
The problem with this is that my server is a remote one that I rented, and as a person who connects to the server from my home and work, I have no reason to believe that my home and work IPs are gonna remain the same for ever. So, if I limit the source of SSH to my server, then what if my IP at home changes? And what if I travel to some other country and want to access my server? I travel a lot.
It sounds like I miss something... so could you guys explain the efficient way to deal with this?
The question is: How can I limit the source of SSH connection without limiting my own access to my server?
Thank you for any efforts.