Posts Tagged Proxy
Linux and the various Proxy
0Hello,
Today I wanted to make a summary of the different proxy connections possible on Linux ...
All Linux software using proxy variables include:
http_proxy, ftp_proxy, HTTP_PROXY, FTP_PROXY So you must add them to / etc / .bashrc for your environment or / etc / profile for the entire system.
The lines to be added to connect to a proxy is simple:
export http_proxy = http://proxy.nom.de.domaine:port export ftp_proxy = http://proxy.nom.de.domaine:port export http_proxy = http://proxy.nom.de.domaine:port export FTP_PROXY = http://proxy.nom.de.domaine:port
The lines to be added for a secure connection to a proxy are:
export http_proxy = @ http://user:password proxy.nom.de.domaine: port export ftp_proxy = @ http://user:password proxy.nom.de.domaine: port export http_proxy = @ http://user:password proxy.nom.de.domaine: port export FTP_PROXY = @ http://user:password proxy.nom.de.domaine: port
After you log back, test your variables with:
echo $ http_proxy echo $ ftp_proxy echo $ HTTP_PROXY echo $ FTP_PROXY
If like me you work for a company that uses an ISA proxy with authentication in the field, you'll get an error such as "access denied" is returned by the proxy.
Here's how to do with Linux ...
The ISA proxy authenticates connections to the proxy via "the field", the " More>















































