Afficher un message
Vieux 02/11/2006, 21h41   #4
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reverse port forwarding: Connection refused

In article <1162502329.093439.321250@h54g2000cwb.googlegroups .com>
"hasenhei" <hasenhei@gmail.com> writes:
>Felix E. Klee wrote:
>> Method B: On 1.b, I ran the following command:
>>
>> ssh -p2222 -R3333:localhost:22 nat.a
>>[cut]

>[cut]
>
>> Any idea why method B for accessing 1.b from 2.a may be failing?

>
>Because you open port 3333 only on the loopback interface of 1.a.
>
>Which OS/ssh-server is on 1.a ?
>
>You should try to use the "-g"-option when connecting from 1.b to 1.a
>(via nat.a):
>ssh -p2222 -R3333:localhost:22 nat.a -g


No, this doesn't , -g only affects "forward forwarding" - the client
can't tell the server how to bind for a reverse forwarding, which makes
a whole lot of sense.

--Per Hedeland
per@hedeland.org
  Réponse avec citation
 
Page generated in 0,05046 seconds with 9 queries