[CentOS] Yum / Up2date issues and mirror.centos.org

Karanbir Singh mail-lists at karan.org
Wed Nov 30 12:44:33 UTC 2005

Les Mikesell wrote:
> On Tue, 2005-11-29 at 10:14, Johnny Hughes wrote:
>>It isn't proxy servers in general, just some implementations that don't
>>work well.
>>I am using squid on my network and I get updates through it for 10
>>machines with no problems.
>>A transparent proxy is one where ports are routed behind the scenes and
>>there is no setup file.
> Squid is frequently used as a transparent proxy by adding an iptables
> rule on the machine acting as the default gateway to redirect all
> outbound port 80 packets to port 3128 on the squid host - or localhost
> if squid runs on the same box.  I don't have one set up now to see if
> there is a problem with squid in that configuration.  If you know the
> proxy address/port, you can work around easily with the shell's
> command line export of variables to a program.
> http_proxy=proxy.domain:port ftp_proxy=proxy.domain:port yum update

Proxy can also be specified in the yum.conf file's [main] section , 
required keywords :

proxy              url to the proxy server that yum should use.

proxy_username     username to use for proxy

proxy_password     password for this proxy

More information about the CentOS mailing list