Need Help with transparent caching/proxying

From: John Lord <lord@dont-contact.us>
Date: Sun, 15 Aug 1999 15:28:55 -0400

> OK I have a new rh6 system setup. It has two nic's . Kernel has everything
> compiled in like the FAQ says. it 2.2.10. This server also has httpd and
> sendmail running on it. I have squid setup on port 8080 and it works when
> setup the browser to use port 8080 and l don't setup anything in ipchains.
> The problem is when I setup ipchains to redirect port 80 to 8080 for
> transparent cache All I can get is the main page on the server no matter
> what address I type in. Below is my conf . Anybody know what I'm doing
> wrong?
>
>
> Nic 1 is external 206.XXX.XXX.XXX
> Nic 2 is internal 192.168.25.1
>
> I have squid setup like with these options
> http_port 8080
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> I have ipchains setup with these rules
>
> /sbin/ipchains -A input -j ACCEPT -i lo
> /sbin/ipchains -A input -j ACCEPT -p tcp -d 192.168.25.1 80
> /sbin/ipchains -A input -j REDIRECT 80 -p tcp -s 0.0.0.0/0 -d
> 0.0.0.0/0 8080
>
> John Lord(lord@beachin.net)
> Network Administrator
> Byte Size Inc.
> www.beachin.net
>
Received on Sun Aug 15 1999 - 13:16:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:02 MST