I'm running this command on myServer:
ssh -g -p 9922 -f myuser@serverOnOpenInternet -L 1212:serverBehindFirewall:80 -N
serverOnOpenInternet runs sshd on port 9922. (not my call)
Once I run the command in question on myServer, I can do:
and successfully reach the index page of serverBehindFirewall.
BUT: if I try from another machine to hit:
The connection times out and I can't connect through the tunnel to serverBehindFirewall.
I've tested the -g switch on my mac and verified that it works like I'd expect from there. I know these are different versions/implementations of ssh. But from everything I can glean, ssh on Ubuntu 14.04 should support the -g switch as well. (it's mentioned in the man page)
Please help :)