I have a really simple Q. I just need to know how to specify an http proxy (with login credentials) within debian. The squid server is a separate machine, and since the proxy got implemented our web services and backups on the dev server arn't working. so basically i just need to specify an http proxy within debian…
Debian route all http traffic through squid
debiannetworkingPROXYsquid
Related Topic
- Setup a http proxy server in linux so that Web users behind a big firewall in another country can access the Web without filtering
- Nginx – How to force outgoing requests from webserver/PHP through squid proxy on same machine
- Squid proxy in cent os often disconnected with error : tunnelConnectTimeout(): tunnelState->servers is NULL
- Ubuntu – What command should be used to connect via SSH through squid proxy
- Debian – Accessing internal network addresses remotely through squid proxy on debian
Best Answer
You may want to can create an environnement variable 'http_proxy' throught your .bashrc script and assign it the value like:
There's also manual settings to to with the web browser but for apt-get edit your /etc/apt/apt.conf and add:
EDIT: You may wish to look at the following article to setup iptables tor edirect the traffic to your proxy: http://www.tldp.org/HOWTO/TransparentProxy-6.html