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

Re: System wide proxy in Debian Jessie



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


Reply to: