Search squid archive

Re: Re: Transparent proxy in the same machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amos,



Thanks for your reply.



We did with tcp_outgoing_tos packet marking. (Redirect all the packet except marking). It's working.

Is it correct or it will create any problems?



Do share your views.



Thanks,

Vivek











-----Original Message-----

From: Amos Jeffries <squid3@xxxxxxxxxxxxx>

To: Vivek <viveksnv@xxxxxx>

Cc: squid-users@xxxxxxxxxxxxxxx

Sent: Mon, 30 Mar 2009 1:05 pm

Subject:  Re: Transparent proxy in the same machine



















Vivek wrote:



Hi All,





I am trying to use squid on my machine and I dont want to do the
proxy

settings for all the browsers that I use. So I have configure squid
in

transparent mode and redirected the http request to port 3128.









How do I differentiate the browser request and the squid's forward

request and how to add an iptables exception ?.







You can't on the same machine.





Try setting the environment global: http_proxy="http://127.0.0.1:3128/";

(assuming thats the IP/port squid is listening for localhost stuff.





Then your browsers and other software only need to be set to 'use system

settings'. That setting is the default on a lot of system utilities, so

it catches their web access to useful effect too.





Amos



--

Please be using



 Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13



 Current Beta Squid 3.1.0.6
















________________________________________________________________________
You are invited to Get a Free AOL Email ID. - http://webmail.aol.in


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux