Page 1 of 1

Trying to connect by SSH to PUTTY tunnel through guest.

Posted: 21. Jun 2017, 09:58
by azzel
Host: Arch Linux 64
Guest: Windows 7 Pro SP1 64
VB: 5.1.22 r115126

There is remote server managed from guest VPN.
On guest there is putty tunnel from remote server SSH port to local 722.
So I can access remote through localhost:722 on guest by other putty session.
I am trying to forward this port to host, and there troubles come.
I have tried to access it directly or through NAT forwarding, neither works.
There is no response as if guest:722 is not open.
To contrast I can access both ways to guest:22 (OpenSSH server).

Thank you for any help!

Code: Select all

NAT forwarding

172.29.21.17 33722 10.0.3.15 722

Code: Select all

Windows IP Configuration


Ethernet adapter Џ®¤Є«о祭ЁҐ Ї® «®Є «м­®© бҐвЁ 2:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::2bd9:cc61:9fa2:c259%14
   Link-local IPv6 Address . . . . . : fe80::4f77:4430:b43e:26ea%14
   Link-local IPv6 Address . . . . . : fe80::7d3a:94e9:cf8f:b7aa%14
   Link-local IPv6 Address . . . . . : fe80::87a1:7a25:8349:daa5%14
   Link-local IPv6 Address . . . . . : fe80::f431:b7fc:a7f6:7fdb%14
   IPv4 Address. . . . . . . . . . . : 10.135.197.13
   Subnet Mask . . . . . . . . . . . : 255.255.252.0
   Default Gateway . . . . . . . . . : ::

Ethernet adapter Npcap Loopback Adapter:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::85bd:3947:324e:2f41%19
   Autoconfiguration IPv4 Address. . : 169.254.47.65
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :

Ethernet adapter Џ®¤Є«о祭ЁҐ Ї® «®Є «м­®© бҐвЁ 3:

   Connection-specific DNS Suffix  . : 
   Link-local IPv6 Address . . . . . : fe80::7996:7e19:a0e:cf96%17
   IPv4 Address. . . . . . . . . . . : 10.0.3.15
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.3.2

Ethernet adapter Џ®¤Є«о祭ЁҐ Ї® «®Є «м­®© бҐвЁ:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 172.25.110.2
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IPv4 Address. . . . . . . . . . . : 172.29.21.233
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 172.29.21.17

Re: Trying to connect by SSH to PUTTY tunnel through guest.

Posted: 22. Jun 2017, 11:35
by azzel
Problem had been solved by remote port forwarding.
on guest:

Code: Select all

 ssh.exe  -R 7722:<remote>:722 <hostuser>@<host>
after it I could do at host:

Code: Select all

ssh -p 7722 root@127.1 
and get my desired connection from host to remote.