[mythtv-users] How do I access a forwarded port on Box A from Box B?

Michael Fox michaelf at users.heimic.net
Sat Jun 17 01:26:49 UTC 2006

On 6/17/06, Richard Bronosky <mythtv at bronosky.com> wrote:
> So, I have a machine behind a firewall on a remote network that is
> reverse port forwarding to a machine with my home network via:
> ssh -p 2222 -N -R 8080:localhost:80 bruno at myhomemachine
> On myhomemachine I can surf to http://localhost:8080 and I get the
> content from the machine behind the remote firewall.  All is well.
> Now I want to get to that content on the remote firewalled network
> from myotherhomemachine.  Unfortunately, http://myhomemachine:8080
> doesn't work.
> BTW, I don't think IP/Name resolution is the problem.  I'm not using
> those names.  I'm using the internal IP addresses:
>  myhomemachine
>  myotherhomemachine
> So, what can I do to get a SSH reverse forwarded port to be accessible
> to other machine on my local network.

Try adding the following switch to your ssh command line your using;

 -g      Allows remote hosts to connect to local forwarded ports.


PS. I could be wrong, but this looks like what your trying to do. Cant
hurt to try right.

More information about the mythtv-users mailing list