[squid-users] transparent proxy squid

From: William Bohannan <william.bohannan@dont-contact.us>
Date: Mon, 17 Apr 2006 09:03:29 -0000

Hi I have installed squid on a debian sarge system which is running off a
usb key. Two questions:

a) can I run squid the squid cache off the memory alone as to not age the
usb key, as I am mainly using squid for squid-guard? Also when cahce with
the usb key it seems a little slow?

b) have tried to setup transparent bridge with no luck I have used the
following options:

"internet -- bridge -- router -- local lan"

-> option1

iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port
3128
iptables -A INPUT -i br0 -p tcp -d xxx.xxx.xxx.xxx -s 192.168.1.0 --dport
3128 -m state --state NEW,ESTABLISHED -j ACCEPT

-> option2

ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port
80 -j redirect --redirect-target ACCEPT
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port
3128

none of these options work, they just make firefox hang and no entries in
/var/log/squid/access.log

if anyone could help, would be most grateful.

thanks heaps

William
Received on Mon Apr 17 2006 - 03:04:05 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT