If you're on a 2.4 kernel and going with iptables type:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 3128
where eth0 is the interface connected to you local network.
FYI:
http://www.linuxdoc.org/HOWTO/mini/TransparentProxy.html
(no need to explain more...)
http://netfilter.samba.org/
(home of all you want to know about iptables)
OoLee
-----Ursprüngliche Nachricht-----
Von: Mailing Lists [mailto:mailing@keyworld.net]
Gesendet: Sonntag, 17. März 2002 01:40
An: Squid Users List
Betreff: [squid-users] Transparent Cache
Guys,
It must be getting late here!!! I am trying to use Squid 2.4 Stable 4 as a
transparent Cache. I set it to use port 3128 (http).
Set my gateway to be the squid IP.
I can browse ok, but when I look at the squid statistics I do not see any
active connections from my IP unless I physically enter the Cache into my
proxy settings in Internet Explorer.
Does that mean that when I am just setting a gateway, I am NOT being cached?
How would I go about caching everyone transparently?
Thanks once again!
Chris
Received on Sat Mar 16 2002 - 18:44:46 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:57 MST