Super User is a question and answer site for computer enthusiasts and power users. 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

Here's the situation: I am trying to show a demo for a chrome extension on MAC, and due to chrome's security policies it's only allowed to use HTTP connections to localhost. The test server I have is on another machine, and cannot be run easily on MAC. So I want a simple program running on my MAC that listens to requests on a specific port, forwards it to another machine, gets the response from there and sends it to the original requester.

I just want to get something working quickly, dont really care about features, efficiency etc. What should I do? Should I go for a proxy (and if yes, which one?) or would something easier do?

share|improve this question
up vote 0 down vote accepted

I ended up simply setting up a ssh tunnel.

ssh -L <port1>:<machine2>:<port2> localhost

Where I want to forward requests from localhost:<port1> to <machine2>:<port2>.

share|improve this answer

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.