Great suggestion! Yeah, actually for some reason that slipped my mind ...
if it's just a local system you're concerned with, iptables can easily
redirect your web traffic to the local running proxy (whatever it is).

Tim Kelley


On Fri, May 1, 2015 at 8:01 AM, Matthias Bodenbinder <
matth...@bodenbinder.de> wrote:

> Am 01.05.2015 um 08:49 schrieb Avinash Sonawane:
>
>> Which is the standard/recommended way to set system wide proxy in
>> Debian instead of editing utility specific rc files (wgetrc, apt.conf
>> etc)?
>>
>> I am aware of /etc/environment, setting http_proxy environ variable
>> and then export it, editing bashrc.
>>
>>
> What you need is a "transparent proxy". This is setup in the background
> with iptables and squid. It will ensure that all IP traffic is routed
> through the proxy. Regardless of invidual app settings or environment
> variables.
>
> I had this running a few years ago and it worked perfectly. But I can not
> recall the detailed setup anymore. Just google "transparent proxy" and you
> will find your way.
>
> e.g.
> http://www.tldp.org/HOWTO/TransparentProxy-5.html
> http://www.tldp.org/HOWTO/TransparentProxy-6.html
>
> Matthias
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/mhvted$i3h$1...@ger.gmane.org
>
>

Reply via email to