Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to figure out how to access from my development machine (Devel) to a third party web service ( 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...):,%20%5BA%5D-%5BB%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

Is there any way of tunneling traffic from B to A and then back to my development machine so I can directly access without having to ssh into every box?

Devel: My development machine.
A, B: Linux servers. I own root access on both.
B: Production server Third party HTTP API production server uses.

share|improve this question
up vote 1 down vote accepted

Yes it is. I do not do this on a regular basis, so when I need to I look up my bookmark on this, which is here. Rather than to quote the article, just follow the very simple examples. They should be easy to set up for you.

Hope this helps!

share|improve this answer
However you may want to first of all work with the networks and sysadmin teams to figure out why they have put in place this block so that you're not violating any policies which you're not meant to be breaking. – DaveG Apr 28 '10 at 21:21
Ok, tried it and it actually worked, but HTTP request headers were wrong and apache returned a forbidden response. So I guess I need to find another approach. @DaveG, there's no sysadmin teams here... and I already asked for a VPN account or whatever and they provided nothing. Or office has no static IP address so there's no way of doing things right. – knoopx Apr 30 '10 at 8:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.