I was wondering if someone could clear this up for me, Ive looked all over the internet and these forums and I cant seem to get my head around the whole public ip/private ip thing, and applying it to remote access.
Basically I want to ssh into my computer from across town or whatever internet connection I have available at the time.
My router (dsl modem, whatever you want to call it) assigns my computer a dynamic ip somthing like 18.104.22.168 (not real numbers). And i can access the internet. So I browse over to whatsmyip.org (or similar service) and it shows something like 22.214.171.124, obviously different.
What I assume is happening here is that my router assigned ip comes is further routed to some kind of gateway that is handling traffic for my isp. I think.
So assuming I want to access my computer in a relativley short period of time after leaving it turned on with sshd running can I ssh to the ip that I was provided with by the whatsmyip site ? or do I have to use the ip provided by dhcp ? if so... how is my computer differentiated from the other computers on the internet that might have the same ip assigned to them from a dhcp server.
When I searched the boards I noticed some people mentioned services that can handle this kind of thing for you. Looks neat and I might sign up for it one day but Im really hoping to do it manually and maybe get a little insight into how this all works.
Any networking gurus out there... please help...