I've managed it to work with:
http_port 80
http_port 8100
httpd_accel_port 0 # this is what squid.conf suggests
httpd_accel_host virtual
and ipchains as you recommended
Thanks,
Ilya.
Henrik Nordstrom wrote:
> It is supposed to work with
>
> httpd_accel_port virtual
>
> but it has been reported that ipchains does not preserve the destination
> port in a REDIRECT. If so, then set up one http_port for each port you
> want to redirect, and redirect to this same portnumber..
>
> I.e.
>
> http_port 80
> http_port 8100
>
> ipchains -A input -i eth0 -p tcp -s $LANADDRESS/32 -d ANYWHERE 80 -j
> REDIRECT 80
> ipchains -A input -i eth0 -p tcp -s $LANADDRESS/32 -d ANYWHERE 8100 -j
> REDIRECT 8100
>
Received on Tue Jul 03 2001 - 07:25:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:59 MST