Re: [squid-users] Problem with transparent proxying.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 12 Nov 2002 16:28:24 +0100

Do they work if you configure your browser to use Squid as a proxy?

Regards
Henrik

tis 2002-11-12 klockan 14.47 skrev Pasi Holmström:
> I have RedHat with Kernel 2.4 and Squid 2.4.STABLE1 and I'm trying to make
> transparent proxy.
> That's what I've done.
> iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 1.2.3.4
> iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 \ -j DNAT --to-port
> 8080
> iptables -t nat -A PREROUTING -p tcp --dport 8080 -i eth0 \ -j DNAT --to-
> port 8080
>
> Lines in squid.conf
> http_port 8080
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
>
> Most of the addresses seem to work fine but for example:
> http://www.foo.com/cgi-bin/psearch? does not. Also <form name="queryForm"
> method="POST"
> action="/jpQuery2/jpQuery.do;jsessionid=E4322F8C3469DB121E07CE8A09A7E5BA.jp1
> "> does not work.
> But http://www.google.com/search?q=ip&ie=UTF-8&oe=UTF-8&hl=fi&lr= does
> work. What is going on???
Received on Tue Nov 12 2002 - 08:27:04 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:18 MST