1
I have a home where the ISP does not allow static IPs for hosts. I have a computer (that I will call A from now on) in that home that has a SSH server running on it and I would like to connect to it remotely.
Its IP, however, may change from time to time.
I also have a webserver with a static IP and a domain name.
My idea is having A periodically send its own public IP to the webserver. If I want to get the current public IP of A from another machine, so that I can connect to it through SSH, I ask the webserver for its last received public IP and use it.
Does my solution sound reasonable? Is there any software that already does this, or do I have to write my own?
This would work, but you might want to look into a dynamic DNS service (google it) which solves the exact problem. – Paul – 2015-03-17T22:50:48.080
I use a dynamic IP server, as the answers describe, but it went off-line for a time, and I did precisely what you are proposing, so that I could use
www.MyWebSite.Net/Home
to address my home machine. I have the web pages to achieve this and scripts for both Linux and Windows, as I have home servers on both. There is no link to/Home
from my public web pages, so the home servers will not be found by web crawlers. – AFH – 2015-03-17T23:15:10.997