[squid-users] Squid transparent proxy and bridge question

2004-03-23 Thread Matthew Tanase
Hello I have setup Mandrake Linux 10.0 as a bridge. I have confirmed the interfaces (eth0 and eth1) are acting as a bridge. I have installed Squid on this device and would like it to act as a forced, transparent proxy. So I am redirecting requests coming into the bridge to port 3128, whi

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-23 Thread Henrik Nordstrom
On Tue, 23 Mar 2004, Matthew Tanase wrote: > I have setup Mandrake Linux 10.0 as a bridge. I have confirmed the > interfaces (eth0 and eth1) are acting as a bridge. I have installed > Squid on this device and would like it to act as a forced, transparent > proxy. So I am redirecting requests comin

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-23 Thread Matthew Tanase
Not sure - the bridge itself works but how can I see if bridging firewalling is enabled? mt -Original Message from Henrik Nordstrom <[EMAIL PROTECTED]>- On Tue, 23 Mar 2004, Matthew Tanase wrote: > I have setup Mandrake Linux 10.0 as a bridge. I have confirmed the > inter

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-23 Thread Matthew Tanase
Just confirmed I do have bridging firewall enabled. -Original Message from Henrik Nordstrom <[EMAIL PROTECTED]>- On Tue, 23 Mar 2004, Matthew Tanase wrote: > I have setup Mandrake Linux 10.0 as a bridge. I have confirmed the > interfaces (eth0 and eth1) are acting as a bridge.

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-23 Thread Henrik Nordstrom
On Tue, 23 Mar 2004, Matthew Tanase wrote: > Not sure - the bridge itself works but how can I see if bridging firewalling is > enabled? You can see this in the config file used when your kernel was built.. If unsure build your own kernel with this option enabled. Regards Henrik

RE: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread usman fool
w Tanase <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [squid-users] Squid transparent proxy and bridge question Date: Tue, 23 Mar 2004 12:47:54 -0800 (PST) Hello I have setup Mandrake Linux 10.0 as a bridge. I have confirmed the interfaces (eth0 and eth1) are acting as a bridge. I have

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread Matthew Tanase
ts are redirected. >From: Matthew Tanase <[EMAIL PROTECTED]> >Reply-To: Matthew Tanase <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [squid-users] Squid transparent proxy and bridge question >Date: Tue, 23 Mar 2004 12:47:54 -0800 (PST) > > >Hel

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread usman fool
From: Matthew Tanase <[EMAIL PROTECTED]> Reply-To: Matthew Tanase <[EMAIL PROTECTED]> To: usman fool <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [squid-users] Squid transparent proxy and bridge question Date: Wed, 24 Mar 2004 11:43:17 -0800 (PST) A couple of thing

RE: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread Henrik Nordstrom
On Wed, 24 Mar 2004, usman fool wrote: > keep 3 things in mind > > 1.the clients gateway must be that ip on which squid is listening on.( your > bridge ip) Not in case of a bridge (won't be a bridge then)... but the bridge needs to be inbetween the clients and their gateway.. > 2.the clients m

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread Henrik Nordstrom
On Wed, 24 Mar 2004, Matthew Tanase wrote: > A couple of things since my initial post. I verified the machine do > indeed have DNS access (I can ping hosts), so that shouldn't be a > problem. I had to use "iptables -t nat -A PREROUTING -p tcp --dport 80 > -j DNAT squidbox:3128" to get Squid worki

RE: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread usman fool
> keep 3 things in mind > > 1.the clients gateway must be that ip on which squid is listening on.( your > bridge ip) Not in case of a bridge (won't be a bridge then)... but the bridge needs to be inbetween the clients and their gateway.. i was saying this because it was looking like he is runnin

RE: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread Henrik Nordstrom
On Wed, 24 Mar 2004, usman fool wrote: > i was saying this because it was looking like he is running squid on that > bridge. > bsd bridges can have ip addresses dont know if its possible in linux or not. Linux bridges can have IP addresses, and in fact is a must if you want to run a proxy there

RE: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread usman fool
From: Henrik Nordstrom <[EMAIL PROTECTED]> To: usman fool <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: RE: [squid-users] Squid transparent proxy and bridge question Date: Thu, 25 Mar 2004 00:34:39 +0100 (CET) On Wed, 24 Mar 2004, usman fool wrote: > i was saying this because

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-24 Thread Matthew Tanase
OK - I have gotten it working, but not sure if it is optimal. Linux, 3 network interfaces. eth0 and eth1 acting as the bridge, assigned an IP. eth2 - not connected. Couldn't get anything to work wtih squid, although the bridge worked. So I enable debugging and can see that Squid cannot talk to t

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-25 Thread Henrik Nordstrom
On Wed, 24 Mar 2004, Matthew Tanase wrote: > OK - I have gotten it working, but not sure if it is optimal. Linux, 3 > network interfaces. eth0 and eth1 acting as the bridge, assigned an IP. > eth2 - not connected. Couldn't get anything to work wtih squid, although > the bridge worked. So I enable

RE: [squid-users] Squid transparent proxy and bridge question

2004-03-25 Thread Henrik Nordstrom
On Thu, 25 Mar 2004, usman fool wrote: > a machine with 2 ethernet cards (eth0,eth1) operating as bridge whereas its > 1 ethernet interface(eth1) has ip address and squid is running on it, now > that machine is connected to internet through ppp0 (as pp0 is not part of > bridge) . ipforwarding i

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-25 Thread Matthew Tanase
I assigned the bridge an IP of 192.168.X.X, but Squid would not work. So I assigned the 3rd interface this IP and removed it from the bridge, now it works. I guess I didn't set up routing, but the third interface is just using DHCP - what is missing - the gateway? DNS already in resolv.conf...

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-25 Thread Henrik Nordstrom
On Thu, 25 Mar 2004, Matthew Tanase wrote: > I assigned the bridge an IP of 192.168.X.X, but Squid would not work. So > I assigned the 3rd interface this IP and removed it from the bridge, now > it works. I guess I didn't set up routing, but the third interface is > just using DHCP - what is missi

Re: [squid-users] Squid transparent proxy and bridge question

2004-03-25 Thread Henrik Nordstrom
On Thu, 25 Mar 2004, Matthew Tanase wrote: > I assigned the bridge an IP of 192.168.X.X, but Squid would not work. So > I assigned the 3rd interface this IP and removed it from the bridge, now > it works. I guess I didn't set up routing, but the third interface is > just using DHCP - what is missi