Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #3788

Re: How could I get a connection to an UDP port through two NATs that I don't own?

From William Unruh <unruh@invalid.ca>
Newsgroups comp.os.linux.networking
Subject Re: How could I get a connection to an UDP port through two NATs that I don't own?
Date 2016-05-31 14:53 +0000
Organization A noiseless patient Spider
Message-ID <nik8hp$t8q$1@dont-email.me> (permalink)
References (1 earlier) <nigh28$q5v$1@tota-refugium.de> <slrnnko0m7.5q5.grahn+nntp@frailea.sa.invalid> <nii34k$rq9$1@tota-refugium.de> <nii9dg$1ti$2@dont-email.me> <nij76c$508$1@tota-refugium.de>

Show all headers | View raw


On 2016-05-31, Laszlo Lebrun <lazlo.lebrun@googlemail.com> wrote:
> Am 30.05.2016, William Unruh vermutete :
>> On 2016-05-30, Laszlo Lebrun <lazlo.lebrun@googlemail.com> wrote:
>>> Jorgen Grahn beschrieb am 30.05.2016 :
>>>> To clarify the description a bit: you have two hosts A and B.  Both
>>>> have internet access, but are behind NAT (different NAT devices I
>>>> guess).  
>>> 
>>> Exactly, and the NATs are not under my control (UMTS provider)
>>> 
>>>> And you want to be able to use UDP from A to B (and the other
>>>> way around?)
>>> 
>>> Only one way.
>>
>> Essentially it cannot be done, unless your provider does port
>> forwarding for something-- eg port 80 (http) or 22(ssh) or really any
>> other port. If they do so, you could have ssh listen on that port and
>> create and ssh tunnel between the two. But without that, there is no way
>> to get any message from one to the other. 
>
> The provider opens at least HTTP and FTP.

Ingoing? Then you can use those to open say an ssh tunnel. Tell ssh to
listen to port 80 (/etc/ssh/sshd_config) and have the other machine open
an ssh tunnel to that port. Now you will have a full tunnel between the
two that you can do with what you want. 
If on the otherhand it is just an outgoing (Ie, you can do ftp from the
machine to the WWW, then it is useless, and it would be extremely
unusual for them not to do that. 

>

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How could I get a connection to an UDP port through two NATs that I don't own? Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2016-05-30 06:39 +0200
  Re: How could I get a connection to an UDP port through two NATs that I don't own? Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2016-05-30 06:54 +0200
    Re: How could I get a connection to an UDP port through two NATs that I don't own? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2016-05-30 09:07 +0000
      Re: How could I get a connection to an UDP port through two NATs that I don't own? "Carlos E.R." <robin_listas@invalid.es> - 2016-05-30 14:14 +0200
      Re: How could I get a connection to an UDP port through two NATs that I don't own? Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2016-05-30 21:09 +0200
        Re: How could I get a connection to an UDP port through two NATs that I don't own? William Unruh <unruh@invalid.ca> - 2016-05-30 20:56 +0000
          Re: How could I get a connection to an UDP port through two NATs that I don't own? Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2016-05-31 07:24 +0200
            Re: How could I get a connection to an UDP port through two NATs that I don't own? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-05-31 09:39 +0300
            Re: How could I get a connection to an UDP port through two NATs that I don't own? William Unruh <unruh@invalid.ca> - 2016-05-31 14:53 +0000
        Re: How could I get a connection to an UDP port through two NATs that I don't own? Aleksandar Kuktin <akuktin@gmail.com> - 2016-06-11 10:51 +0000
          Re: How could I get a connection to an UDP port through two NATs that I don't own? "Carlos E. R." <robin_listas@invalid.es> - 2016-06-11 14:15 +0200
          Re: How could I get a connection to an UDP port through two NATs that I don't own? Rick Jones <rick.jones2@hpe.com> - 2016-06-11 23:21 +0000
            Re: How could I get a connection to an UDP port through two NATs that I don't own? Stefan Monnier <monnier@iro.umontreal.ca> - 2016-06-15 23:11 -0400
      Re: How could I get a connection to an UDP port through two NATs that I don't own? Stefan Monnier <monnier@iro.umontreal.ca> - 2016-05-31 22:10 -0400
        Re: How could I get a connection to an UDP port through two NATs that I don't own? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-06-01 09:58 +0300
          Re: How could I get a connection to an UDP port through two NATs that I don't own? Stefan Monnier <monnier@iro.umontreal.ca> - 2016-06-01 09:22 -0400

csiph-web