I've recently converted my home development machine to Linux, and would like to be able to log into it from work if needed. I use a mixture of Linux and Windows machines, and I already have various gyrations of ssh/putty/Xorg/Cygwin/etc set up to launch X clients remotely and display on the local X server.
My problem is, my home machines are behind a firewall, and getting to them requires tunneling through the firewall over ssh. When I was running Windows I had set up ssh port forwarding on the firewall to bounce RDC connections to the correct machine, but it appears that X tunneling is more complex. Just enabling X11 forwarding on the ssh connection to the firewall only seems to work for X clients running on that machine, not ones I start on the second "hop".
Is there a way to forward/tunnel/whatever the X11 connection through the firewall and to a remote machine that's an extra hop away?
I'm not particularly married to X11, so if there's some other option that will work better over multiple ssh hops, I'd take that as an answer (especially if you can tell me why it's better). I just happen to already have an Xorg-ish server on all of my work machines. The requirements are basically:
- Display-side-thingee (X server, RDC client, etc.) needs to run on Linux and Windows
- Application-side stuff just needs to run on Linux
- Needs to work over an ssh "tunnel" of at least 2 two hops.