Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

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 often share my internet connection with other Macs and devices and want to know if I can redirect client's web requests to my local web server.

Is it as simple as having them use my client's IP address or do I need to set up a proxy or otherwise configure things on my Mac or my client's devices?

share|improve this question
I don't think so, redirection is quite complicated. – Shane Hsu Mar 27 '13 at 13:24
I agree, the internet sharing feature is really limited to simple sharing, with virtually no advanced configurable options. – Chris A Mar 27 '13 at 13:55
What about a proxy server? there must be a way!? – Carlos Martins Mar 27 '13 at 15:29

If you really want to configure your network in such a way, here are a few bricks I'd advise to start with:

  1. Install Squid version 3 and configure it in transparent mode. You may use MacPorts to build, configure and install it. With MacPorts you would do it with: port install squid3.

  2. Install Apache. With the same Macports, you would have to do it with: port install apache2.

You will find many documents on the web to help to build this, but I didn't find any one complete and good enough to recommand it.

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.