Re: [squid-users] How to enable transparent proxy (squid-3.0.STABLE13)

From: M. Asghar Nazir <asghar_nazir_at_yahoo.com>
Date: Mon, 9 Feb 2009 21:22:18 -0800 (PST)

Dear Amos! I want to setup same setup same setup like in version 2.5 using these commands written bellow. httpd_accel_host httpd_accel_port httpd_accel_with_proxy httpd_accel_uses_host_header and add prerouting rule to redirect all tcp 80 traffic to squid port 3128. Because I don't want to setup proxy setting on all of my lan users computers. if any user want to brows the internet port 80 req redirect it to squid port 3128. And I really don't have any idea how to setup in new version of squid 3.0. please advise Rgd,   ----- Original Message ---- From: Amos Jeffries <squid3@treenet.co.nz> To: asghar_nazir@yahoo.com Cc: Jeff Peng <jeff@dtonenetworks.com>; squid-users@squid-cache.org Sent: Tuesday, February 10, 2009 9:52:54 AM Subject: Re: [squid-users] How to enable transparent proxy (squid-3.0.STABLE13) M. Asghar Nazir wrote: > Dear Jeff! > > Thanks for your quick reply. Actually I have only work on squid 2.5 version and after a very long time now I need to rebuilt proxy in my new company using new version squid 3.0. > > could you please help me with a live Config Examples of squid 3.0 transparent proxy version. > > Rgd, > Three things: 1) please don't hijack discussions. They can lead to confusion such as Jeff's assumption that you were still talking about tproxy. 2) Are you trying to setup a website accelerator proxy (reverse proxy) or a traffic intercepting proxy? Both of your emails to date contradict each other. The httpd_accel_* are old 2.5 config for accelerators. Replaced with any of the setups listed under "Reverse Proxy" at:   http://wiki.squid-cache.org/ConigExamples Transparent proxy is a single broad term used for several other very different types of setup. Please clarify what you need. 3) The ConfigExamples wiki pages details how to setup their config. In most cases they are live configs used by people somewhere on the web. Amos > > > --- On Tue, 2/10/09, Jeff Peng <jeff@dtonenetworks.com> wrote: > >> From: Jeff Peng <jeff@dtonenetworks.com> >> Subject: Re: [squid-users] How to enable transparent proxy  (squid-3.0.STABLE13) >> To: asghar_nazir@yahoo.com >> Cc: squid-users@squid-cache.org >> Date: Tuesday, February 10, 2009, 9:01 AM >> 2009/2/10 M. Asghar Nazir <asghar_nazir@yahoo.com>: >>> Dear All, >>> >>> I am want to configure squid as a transparent proxy >> using squid-3.0.STABLE13 >>> version. I have compile squid with following >> parameters written below. >>> /configure --enable-delay-pools --enable-snmp >> --enable-arp-acl >> --enable-default-err-language="English" >> --enable-default-err-language="English" >> --enable-linux-netfilter --disable-ident-lookups >> --with-filedescriptors=51200 >>> when I open /usr/local/squid/etc/squid.conf >>> >>> I didn't find these options their to enable >> transperent proxy. >>> httpd_accel_host >>> httpd_accel_port >>> httpd_accel_with_proxy >>> httpd_accel_uses_host_header >>> >> This is the very old directives in Squid-2.5 version. >> You could check the new configure directives in >> squid.conf.default or >> configure samples on: >> >> http://wiki.squid-cache.org/ConfigExamples/ >> >> -- Jeff Peng >> Office: +86-20-38350822 >> AIM: jeffpang >> www.dtonenetworks.com > > >      -- Please be using   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13   Current Beta Squid 3.1.0.5
Received on Tue Feb 10 2009 - 05:22:29 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 10 2009 - 12:00:01 MST