Find the answer to your Linux question:
Results 1 to 2 of 2
Dear all, yum, 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 ...
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
    Location
    Quetta
    Posts
    74

    Yum and Iptables


    Dear all,

    yum,

    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.


    Iptables

    whenever i add entry in iptables for any thing example:
    iptables -A INPUT -p tcp -s 192.168.1.0/24 --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.


    Thanks

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    do you use iptables-save command after defining the rule?
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

Posting Permissions

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