iptables/gui firewall ftp connection!!

Discussion in 'Server Security' started by kaspro, Jul 11, 2013.

  1. kaspro

    kaspro New Member

    Joined:
    Dec 28, 2012
    Messages:
    3
    Likes Received:
    0
    Hello everyone, I have a weird firewall issue, when I manually insert a new rule to allow ftp connection through port 21 by using (iptables -A, iptables -I) it won't work and I'm unable to connect.
    But when I use the GUI firewall tool to allow ftp connection it works normally, why the hell is that??
    I'm using RED HAT 6 by the way!

     
  2. nixsavy

    nixsavy Member

    Joined:
    May 21, 2013
    Messages:
    65
    Likes Received:
    18
    Immediately you make change in GUI.. try to check iptables using below command what changes its made.

    # iptables -L -n -v
     
  3. kaspro

    kaspro New Member

    Joined:
    Dec 28, 2012
    Messages:
    3
    Likes Received:
    0
    Well i actually found the solution, that "nf_conntrack_ftp" module had to be loaded in "/etc/sysconfig/iptables-config" file.
    Thank you
     
  4. nixsavy

    nixsavy Member

    Joined:
    May 21, 2013
    Messages:
    65
    Likes Received:
    18
    Thanks for sharing.
     

Share This Page