[squid-users] Squid reverse proxy and port mapping

From: Mirabello Massimiliano <Massimiliano.Mirabello@dont-contact.us>
Date: Fri, 7 Dec 2007 12:41:00 +0100

Hi all,

I have a problem I couldn't solve. I looked for documentation or
examples but a could not find (or I didn't uderstand) a solution.

I have an application that send http/https request on different ports of
my http server. What I need is to proxy a request received on a specific
port (e.g. 8080) on my frontend server (the one running squid) to a
specific port (e.g. 9080) of my backend server (eventually the same
server running squid). The same operation has to be executed for other
ports for the same backend server or eventually on a different one.

The following table should be more explicative.

Squid listening port backend host backend port
-----------------------------------------------------------------
8080 127.0.0.1 9080
8081 127.0.0.1 9081
8082 10.0.0.2 9082
8083 10.0.0.3 9080

There's anyone could provide an example to do this?
I use squid 3.0

Thank you in advance.

Massimiliano

Internet Email Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto.

This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred.
-----------------------------------------------------------------------------------------------------
Received on Fri Dec 07 2007 - 04:48:15 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:01 MST