Tunneling HTTP traffic from a particular host/port
Posted
by knoopx
on Server Fault
See other posts from Server Fault
or by knoopx
Published on 2010-04-28T16:48:39Z
Indexed on
2010/04/28
16:53 UTC
Read the original article
Hit count: 371
Hello, I'm trying to figure out how to access from my development machine (Devel) to a third party web service (www.domain.com) which I am not allowed to directly contact using my office IP address.
Here's a basic diagram (i'm not allowed to post images...): http://yuml.me/diagram/scruffy/class/%5BDevel%5D-%5BA%5D,%20%5BA%5D-%5BB%5D,%20%5BB%5D-%5Bwww.domain.com%5D
The only machine allowed to access that service is B (production server) but I do neither can directly access it from my development machine (Devel).
So in order to access the web service I have to ssh into A, and then from A to B to access www.domain.com
Is there any way of tunneling traffic from B to A and then back to my development machine so I can directly access www.domain.com without having to ssh into every box?
Devel: My development machine.
A, B: Linux servers. I own root access on both.
B: Production server
www.domain.com: Third party HTTP API production server uses.
© Server Fault or respective owner