On 2017-02-20 16:41, Greg Freemyer wrote:
On Mon, Feb 20, 2017 at 10:04 AM, Carlos E. R. <> wrote:
If the destination server is protected by firewall that blocks SSH connections, you will want a reverse tunnel.
No, not the case. In fact, ssh is the only port I opened on the home server.
I use reverse tunnels to connect to the machines in my lab.
The basic concept is I have server in the cloud (a VM instance I pay for). The firewalls related to my cloud VM are on my server, so I have 100% control of the open ports.
At my office, my ISP blocks a lot of ports.
My lab machines use autossh to maintain an outbound connection to the VM.
The VM in turn opens ports and forwards all new connections back to my servers in my lab.
I have 5 PCs in my lab that I can access that way. For each one I have a dedicated, non-standard, port on the VM server that allows access to my machines.
It's a little complicated to setup, especially if the lab machines are Windows based.
Interesting... but I don't think I need that complication :-)
I wrote a tutorial on how to do it. Even if I'm the only user of the tutorial, it is good to have.
https://lizards.opensuse.org/2015/04/20/using-opensuse-as-a-reverse-tunnel-s...
Thanks, I'll have a look. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))