News for hackers. Stuff that matters.
Re:SSH Tunnel – Local and Remote Port Forwarding Explained W... by userbinator on Sunday May 18, 2014 @08:30AM (#7762857)
I find it valuable to memorise the fact that the terms "remote" and "local" are referring to which end of the tunnel is doing the listening; with local forwarding, the local machine, i.e. the one you are SSH'ing from, is the one that's listening, while with remote it's the remote machine (server) that listens.
Re:SSH Tunnel – Local and Remote Port Forwarding Explained W... by pmorici on Sunday May 18, 2014 @10:37AM (#7763179)
This is so true, I used to have trouble remembering how to do ssh tunneling w/o looking it up and then one day someone pointed out to just remember wether you are using a remote or local tunnel the listening side of the tunnel always comes first. After that it was easy sailing.