189
87
Well, referring back to this question, I am running the command
ssh -R 8080:localhost:80 -N root@example.com
on a Mac. Yet the port that is being tunneled is not working publicly. I am running such a command to make it so that the local port can be opened on the remote computer. And it does work when opening the port on localhost on the remote computer, but when I try to access the public IP address of the remote computer from my local computer the port doesn’t seem to be open. How would I make the tunnel public on the IP for anyone to access?
EDIT: It seems as if the remote side binds only on localhost instead of to all interfaces.
EDIT 2: The client is Mac OS X 10.6 and the server is Linux Mint, but they’re both OpenSSH.
What does public IP mean? If you are trying to connect to a local computer thru the router and via the Internet, most routers will not allow such loopback. – harrymc – 2013-04-30T05:53:40.977