Re: [squid-users] Redirecting Inbound Web Traffic

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 07 Apr 2008 21:51:33 +0200

mån 2008-04-07 klockan 14:05 -0500 skrev Kyle Harris:
> For example, if an HTTP request comes in for pc1.mydomain.com I would like
> to send it to an internal web server on IP address 10.1.1.1. If an HTTP
> request comes in for pc2.mydomain.com, I would like to send it to 10.1.1.2.
> I can't see a way to do that with just iptables and one external IP address
> so I am hoping that perhaps Squid can be used to assist.

Yes, it's one of the functions of Squid.

The feature you are looking for is reverse proxying. Start by reading
the FAQ chapter on the subject, it outlines the basic principles of what
you need to do.

http://wiki.squid-cache.org/SquidFaq/ReverseProxy

You do not need a redirector, just squid.conf rules..

Regards
Henrik
Received on Mon Apr 07 2008 - 13:53:14 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT