An update: When I try to access a site from my client machine (without the option to use a proxy server in IE), I do see that the request passes the linux gateway and is passing my router (blinking leds). However, I do NOT see any of the access.log/cache.log/store.log files to grow in size ... I also see the response signal to pass my router. It looks like it gets stuck in the linux box on its way back to the client ?
----- Original Message ----- From: "Kenn Murrah" <[EMAIL PROTECTED]> To: "Mike Putter" <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 10:11 PM Subject: Re: [squid-users] transparant proxying and redirecting > yeah, i'm sure you're right (i can't remember what HOWTO i originally got > mine from) ... just grasping at straws here, trying to think of SOMETHING > that might work. ... > > > ----- Original Message ----- > From: "Mike Putter" <[EMAIL PROTECTED]> > To: "Kenn Murrah" <[EMAIL PROTECTED]> > Sent: Friday, January 24, 2003 2:55 PM > Subject: Re: [squid-users] transparant proxying and redirecting > > > > No, this is not the case; I tried also with 'tcp' instead of 'TCP'. > > (I got the code lines from > > http://squid.visolve.com/white_papers/trans_caching.htm so I would be > > stunned if this was the case). > > > > ----- Original Message ----- > > From: "Kenn Murrah" <[EMAIL PROTECTED]> > > To: "Mike Putter" <[EMAIL PROTECTED]> > > Sent: Friday, January 24, 2003 9:38 PM > > Subject: Re: [squid-users] transparant proxying and redirecting > > > > > > > mike: > > > > > > this is probably a stupid question, but i'll ask it anyway ... is the > > > iptables line case-sensitive? for instance, i have "tcp" and you have > > "TCP" > > > ... > > > > > > just wondering ... so much of linux IS case sensitve, but i can't find > out > > > about this. > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: "Mike Putter" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, January 24, 2003 2:06 PM > > > Subject: Re: [squid-users] transparant proxying and redirecting > > > > > > > > > > Kenn, > > > > > > > > I just added the -i eth0 to my line and did a 'service squid restart', > > but > > > > without any luck. > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Kenn Murrah" <[EMAIL PROTECTED]> > > > > To: "Mike Putter" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > > > Sent: Friday, January 24, 2003 9:07 PM > > > > Subject: Re: [squid-users] transparant proxying and redirecting > > > > > > > > > > > > > Mike: > > > > > > > > > > The only difference I see between your setup and mine (which works > > fine) > > > > is > > > > > the iptables line .. Here's mine: > > > > > > > > > > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j > > > > > REDIRECT --to-port 3128 > > > > > > > > > > (I'm running Mandrake 8.2 on that box) .... > > > > > > > > > > Also, you're telling the browser that you are using NO proxy, right? > > > > > > > > > > HTH, > > > > > > > > > > kennM > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Mike Putter" <[EMAIL PROTECTED]> > > > > > To: <[EMAIL PROTECTED]> > > > > > Sent: Friday, January 24, 2003 1:46 PM > > > > > Subject: [squid-users] transparant proxying and redirecting > > > > > > > > > > > > > > > > I've searched the FAQ and scanned for hundreds of postings but was > > not > > > > > able > > > > > > to find a practical solution for transparant redirecting with > squid: > > > > > > My Linux (Mandrake 9.0) box acts as a gateway and proxyserver. > > > > > > With iptables I redirect every HTTP request to squid: > > > > > > iptables -t nat -A PREROUTING -p TCP --dport 80 -j > > REDIRECT --to-port > > > > 3128 > > > > > > > > > > > > I've setup transparant proxying: > > > > > > httpd_accel_host virtual > > > > > > httpd_accel_port 80 > > > > > > httpd_accel_with_proxy on > > > > > > httpd_accel_uses_host_header on > > > > > > > > > > > > Unfortunately, I still can't surf the web -UNLESS: I configure my > > > > browser > > > > > > (IE6) to use 192.168.1.1 port 80. > > > > > > Now that shouldn't be needed with transparant proxying, right ? > So, > > > > what's > > > > > > missing ? > > > > > > > > > > > > Furthermore: I want to restrict users to access only one (or a few > > > > sites). > > > > > > How can the user be forced that the first page he sees is, for > > > instance > > > > > > www.squid-cache.org, irregardless of what he types in the > > address-bar > > > of > > > > > his > > > > > > browser. I think that squid is not able to do so, as the URL path > > > needs > > > > to > > > > > > be rewritten, right ? I did find a posting about some Perl script > to > > > do > > > > > > this, but I really don't know how to use or activate this script > > > before > > > > > > squid processes the request further. > > > > > > > > > > > > If more info is needed I'll be glad to dig it up for you ! > > > > > > > > > > > > Mike > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
