Creating a router out of SSH Tunnels.
Basically, what I'm looking for are the right command line arguments to setup a 3 box VPN network with the middle box acting as a router.
Box1 wants to scp to Box3 but wants to go through Box2
I'm basically using Box2 as a router, the reason being is that my current download speeds from Box1 to Box3 is about 70K/s, and the downloads from Box1 to Box2 is 180K/s and from Box2 to Box3 is 180K/s. So, there's something wrong ( more than likely at a peering point ) that is causing my bad dl speeds from Box1 to Box3, but I can create my own routing via Box2. Now, just how to implement?
I've tried several -L -R type variants but those are all a no go, I think I might just be doing something wrong and was hoping someone else might be able to figure it out. Basically, what I want to do is:
ssh -p 1024 Box2
And what it will do is actually ssh me in to Box3
That's all, pretty simple, but too hard for me :-\