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...
|
feedback
|
|
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 | |||||||
feedback
|
|
Transparent http traffic routing
| |||
|
feedback
|
|
Transparent proxying CANNOT be done with login credentials. Think about it; if the user doesn't know it's going on, then you can't expect them to engage in a username/password exchange! | |||
|
feedback
|
|
Hi This may help you. Try this. Add this in /etc/squid.conf auth_param basic program /usr/lib/squid/getpwnam_auth /etc/passwd auth_param basic children 5 auth_param basic realm Squid Proxy Cacheing Server auth_param basic creddentialsttl 1 hour I have also been advised to enter the acl: acl password proxy_auth REQUIRED http_access allow password One site has stated that you need the entry: authentication_program /usr/lib/squid/getpwnam_auth | |||
|
feedback
|