LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Used Firewall rules for port 21 (https://www.linuxquestions.org/questions/linux-newbie-8/used-firewall-rules-for-port-21-a-683968/)

bkcreddy17 11-17-2008 03:12 AM

Used Firewall rules for port 21
 
I used iptables and blocked port number 21 all ips other than my ip and 209.132.176.30 which is ftp.redhat.com. But i am getting these error messages.
Code:

Nov 12 11:46:30 Server yum-updatesd-helper: error getting update info: failed to retrieve repodata/primary.xml.gz from rhel-i386
-server-5 error was [Errno -1] Metadata file does not match checksum

Nov 12 13:46:12 Server yum-updatesd-helper: error getting update info: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-i386-server-5. Please verify its path and try again

How do i trouble shoot this? Thank you.

yowi 11-17-2008 05:48 AM

Are you blocking outgoing connections?

bkcreddy17 11-17-2008 06:22 AM

No, I wrote rule in INPUT chain.

yowi 11-17-2008 07:11 AM

do you have an "allow established" on the input?
post your script...

bkcreddy17 11-17-2008 11:40 PM

No i don't. What is the rule?

yowi 11-18-2008 01:15 AM

Here's an explanation...
http://www.kalamazoolinux.org/presen...conntrack.html


All times are GMT -5. The time now is 05:47 AM.