[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Remote SSH (dynamic IP) without third-party server



On 2020-07-31 19:03, riveravaldez wrote:
Is this possible?

Hi, to clarify: I would like to connect to a remote home-machine
(dynamic IP) through SSH session but without using a third-party
server (free or paid), just with software running in both machines.

Tox and Jami protocols seem to be able to stablish a quick p2p
connection in a decentralized fashion (without the need of a central
server) and I understand that this means that both protocols allow
each client to find the other one, that is, to know their present IPs
at all time, no matter how dynamic they are. Is this correct?

If so, would be possible to use a similar mechanism to obtain at any
moment the counterpart's IP and then make a SSH login using such
information?

If there's any other simpler way (that doesn't imply the use of any
third party) please let me know, I could use anything that works.

Thanks a lot!

The particulars of your home Internet connection will determine what alternatives you have available.


I have residential VDSL service from AT&T. Fortunately, AT&T does not block port 22, AT&T assigned an IPv4 address for my WAN connection, and the address has never changed. So, added an entry to the /etc/hosts file on my laptop, configured the residential gateway to allow incoming WAN SSH packets, and configured the gateway to forward those packets to the SSH server on the LAN. I can take my laptop remote, connect to the Internet, and log in to my server with SSH.


David


Reply to: