Enable system-wide proxy on Ubuntu

Configure a system-wide http, https, ftp und SOCKS proxy for Ubuntu.
created by on 2013-02-04

A system wide proxy can be set in the the file /etc/apt/apt.conf or via the Network Settings dialog (“gnome-control-center network”):

Screenshot: Ubuntu Proxy Configuration Dialog

Additionally you should set the proxy environment-varibales in /etc/environment:

Screenshot: http_proxy environment variable in /etc/environment

If everything works you should be able to debug (hopefully all) your HTTP and HTTPs traffic with tools such as Charles - Web Debugging Proxy Application:

Screenshot: Charles Web Debugging Proxy

Related Links

Tags:
Fork allmark on GitHub