[squid-users] Squid redirecting non-standard port in transparent mode

From: Michael Migdol <[email protected]>
Date: Mon, 03 Jan 2005 13:02:41 -0800

Hello,

We're using Squid in transparent proxying mode (currently on 2.5 dev
4). We are trying to fetch http://foo.com:7080/blah . The squid host
is using iptables to redirect the request from port 7080 to port 8080
locally.

When we try to fetch http://foo.com:7080/blah , Squid seems to be
redirecting this requires to port 80 on foo.com. The outbound request
goes to port 80
on foo.com, and it is rewriting the Host header from

Host: foo.com:7798

to

Host: foo.com

Can anyone suggest a workaround for this situation?

Thanks,
Michael
Received on Mon Jan 03 2005 - 14:02:43 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST