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

Re: System wide proxy in Debian Jessie



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 <matthias@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-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] mhvted$i3h$1@ger.gmane.org" target="_blank">https://lists.debian.org/[🔎] mhvted$i3h$1@ger.gmane.org



Reply to: