Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My IP Tables keeps blocking FTP?
#1
For some reason, IP Tables on my Centos 5.4 VPS keeps blocking FTP. What I have to do to use FTP right now is enter the command to stop IP Tables, a few hundred files will upload, and I have to stop IP Tables again, another few hundred files, and then I have to stop it again. How do I add an exception or permanently disable IP Tables?
Reply
#2
Try adding your domain with port 21 to the IP whitelist.
Reply
#3
You don't want to disable IP tables. You just need allow the FTP port, assuming it's 21, add this via SSH,

Code:
iptables -I INPUT -p tcp --dport 21 -j ACCEPT

You add it to the iptables rules file,

Code:
nano /etc/sysconfig/iptables
This will open the file in your editor (nano), assuming you have it.
Reply
#4
Ok I'll try adding that rule again even though I'm fairly sure I have in the past.
Reply
#5
It might be easier with Virtuozzo if you are using it.
Reply
#6
Not sure what that is. I'm using Webmin. Already did it through SSH anyway and it still blocks FTP.
Reply
#7
Add a rule to accept everything, then check.
Reply
#8
Sorry but I barley work with IP Tables. Can you please tell me how to do that?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  FTP delay? Black Ghost 3 1,463 04-04-2014, 03:57 AM
Last Post: Kevin Cheri
  FTP Problems. Extasey 4 1,384 11-16-2009, 04:09 PM
Last Post: Extasey

Forum Jump:


Users browsing this thread: 1 Guest(s)