iptables/gui firewall ftp connection!!

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

  1. kaspro

    kaspro New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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

    Messages:
    65
    Likes Received:
    17
    Trophy Points:
    8
    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

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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

    Messages:
    65
    Likes Received:
    17
    Trophy Points:
    8
    Thanks for sharing.

Share This Page