On CentOS 6.6-

At first, iptables was blocking access to my FTP server at all while it was on. After some research I added the lines to


that are suggested in the question Iptables to allow incoming FTP and it works... for about 2 minutes, then I can no longer connect to my server. If I then

/sbin/service iptables stop
/sbin/service iptables start

It will work again... for a few minutes. This is infuriating.

Any help is appreciated thank you.

  • Look at your log files (probably /var/log/messages) for clues. Paste back anything interesting. When you say you can no longer connect to the server you mean by ftp not in general right? – user1794469 Jul 14 '15 at 15:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.