port for 'yum' ?

Support for security such as Firewalls and securing linux
Post Reply
paul-lkw
Posts: 8
Joined: 2005/07/16 18:07:13
Contact:

port for 'yum' ?

Post by paul-lkw » 2007/11/12 03:26:08

Dear All:
I have an 'iptables' rule to default block all policy, and eventually I find I can not use 'yum' to update the RPM pakage.
I want to ask which port should be opened for the command 'yum' to work?

THX all. :-D

yyagol
Posts: 1015
Joined: 2006/06/10 18:27:44
Location: 32 4′N 34 47′E
Contact:

Re: port for 'yum' ?

Post by yyagol » 2007/11/12 05:22:44

yum uses port 80 (take a look at you're repos its all http://)
if you need to use proxy then [b]export http_proxy=http://ip:port[/b]

Post Reply

Return to “CentOS 5 - Security Support”