Search squid archive

Re: redirecting to squid on a local machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Henrik Nordstrom" <henrik@xxxxxxxxxxxxxxxxxxx>

iptables -t -nat -A OUTPUT -m owner ! --owner-uid squid -p tcp
--dport 80 -j REDIRECT --to-destination 3128

doesn't seem to work,

Should work.

Have you configured squid.conf proper for transparent interception?

At least I think so, I am using squid-2.5.STABLE10-5.2
and my configuration looks like this:

/etc/squid/squid.conf

#  HTTP_ACCELERATOR OPTIONS
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

I am at a loss....been searching in several tuts and howtos, tried this and
that, but nothing ever worked properly.

PS: In the iptables-rule above is a little mistake which happened by recalling
the rule from my memory to write it down here... instead of --to-destination
the rule actually uses --to-ports. Sorry for the confusion.

Regards,

Sascha



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux