Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #225820
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: [OT] Remote SSH (dynamic IP) without third-party server |
| Date | 2020-08-04 13:50 +0200 |
| Message-ID | <AA3C9-7RJ-5@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <Azdke-Wj-5@gated-at.bofh.it> <AzHii-2yS-13@gated-at.bofh.it> <AzOa5-6W2-3@gated-at.bofh.it> <AzOa5-6W2-1@gated-at.bofh.it> <AzPSy-80o-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 03, 2020 at 02:38:13PM -0600, Charles Curley wrote: > On Mon, 3 Aug 2020 15:18:46 -0400 > Greg Wooledge <wooledg@eeg.ccf.org> wrote: > > > On Mon, Aug 03, 2020 at 02:15:17PM -0500, David Wright wrote: > > > The home PC that I'd be trying to contact has a 192.168.n.n IP > > > address given to it by my primary router. But the router's external > > > address is obtained by its DHCP client talking to my ISP's DHCP > > > server. > > > > In a case like that, just contact an external web site that tells you > > what your externally visible IP address is. There are many of them. > > Mine is <http://wooledge.org/myip.cgi>. > > > > Ah, now you are back to using an external server, which the OP would > like to avoid. The only way you can do this without ANY external help is if one of the two endpoints has a static IP address. Then you can have the dynamic one contact the static one by its static IP address. If both ends are dynamic, there MUST be some third party help. This may involve dynamic DNS, or email, or web sites, or Dropbox, or whatever you can dream up. Now, in addition to that, my suggestion was simply a response to a tangential exploration of how the dynamic client can DETERMINE what its IP address is, so that it can inform the other endpoint. If the client is behind a local DHCP server, it won't know what the router's external IP address is. How could it? That information is never given to the client by the DHCP server. So the client needs SOME way to determine what information to send to the other endpoint. Using one of the several dozen (hundred?) "what is my IP address" web sites is one such way. Another way would be for the client to send a generic message to the static machine, and then have the static machine determine what IP address the message came from. Doing that is viable if there is a direct communication between the two. If the communication goes through a third party helper (e.g. email), it may still be possible to parse the client's original IP address out of the Received: headers (or analogous tracking information if you're using something other than email). Or it may be impossible, if the third party helper does not reveal such information. Some of you are assuming that the local router offers an API whereby clients inside the LAN can determine what the local router's external IP address is, without going outside the LAN. That may or may not be a thing. I have no idea. Good luck with that.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[OT] Remote SSH (dynamic IP) without third-party server riveravaldez <riveravaldezmail@gmail.com> - 2020-08-01 04:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-01 08:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server deloptes <deloptes@gmail.com> - 2020-08-01 14:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Dan Purgert <dan@djph.net> - 2020-08-01 17:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-02 00:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-02 01:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-02 03:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server <tomas@tuxteam.de> - 2020-08-01 09:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-01 12:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server tomas@tuxteam.de - 2020-08-01 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-02 01:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server riveravaldez <riveravaldezmail@gmail.com> - 2020-08-02 04:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-03 01:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-11 01:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Joe <joe@jretrading.com> - 2020-08-01 10:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server riveravaldez <riveravaldezmail@gmail.com> - 2020-08-01 11:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server deloptes <deloptes@gmail.com> - 2020-08-01 14:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server mick crane <mick.crane@gmail.com> - 2020-08-01 14:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server rhkramer@gmail.com - 2020-08-01 17:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-02 06:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Gene Heskett <gheskett@shentel.net> - 2020-08-02 07:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-02 22:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Gene Heskett <gheskett@shentel.net> - 2020-08-02 22:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-03 14:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-03 21:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Charles Curley <charlescurley@charlescurley.com> - 2020-08-03 23:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server rhkramer@gmail.com - 2020-08-03 23:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 03:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 03:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 04:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Stefan Monnier <monnier@iro.umontreal.ca> - 2020-08-04 04:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 06:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-11 06:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-11 13:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-12 05:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-11 14:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-12 05:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-12 13:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-13 16:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Celejar <celejar@gmail.com> - 2020-08-04 16:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Charles Curley <charlescurley@charlescurley.com> - 2020-08-04 19:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-04 13:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Celejar <celejar@gmail.com> - 2020-08-04 15:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-03 21:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Nate Bargmann <n0nb@n0nb.us> - 2020-08-04 02:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 03:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Stefan Monnier <monnier@iro.umontreal.ca> - 2020-08-04 04:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-04 10:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server "Thomas Schmitt" <scdbackup@gmx.net> - 2020-08-01 12:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Dan Ritter <dsr@randomstring.org> - 2020-08-01 13:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server rhkramer@gmail.com - 2020-08-01 13:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David <bouncingcats@gmail.com> - 2020-08-01 14:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Reco <recoverym4n@enotuniq.net> - 2020-08-01 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Reco <recoverym4n@enotuniq.net> - 2020-08-01 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-01 17:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server "007@caiway.net" <007@caiway.net> - 2020-08-01 17:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server "007@caiway.net" <007@caiway.net> - 2020-08-01 18:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Nate Bargmann <n0nb@n0nb.us> - 2020-08-01 19:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Henrique de Moraes Holschuh <hmh@debian.org> - 2020-08-01 21:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server MAS Jean-Louis <jean-louis.mas@imag.fr> - 2020-08-04 16:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 16:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-04 17:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-04 17:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Curt <curty@free.fr> - 2020-08-04 19:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Gene Heskett <gheskett@shentel.net> - 2020-08-04 21:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-05 09:40 +0200
csiph-web