Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! abdul raziq's Avatar
    Join Date
    Dec 2006

    Yum and Iptables

    Dear all,


    i have configure yum in my Rhel5 server and also yum use in other rhel5 server. every thing is fine when flush iptables than. but with out iptables whenever i access or install any package thorugh yum its not work till i do not flush iptables. Any one can tell me how i allow yum iptables.


    whenever i add entry in iptables for any thing example:
    iptables -A INPUT -p tcp -s --dport 80 -j ACCEPT

    when i use to allow http in iptables its working fine. when i leave my server and start my server next time again i am going to add above entry in to http. i don't know why iptbales doesn't save my entry.


  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Behind You!
    do you use iptables-save command after defining the rule?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts