Problem connecting to ftp after enabling csf

Post Reply
motamedi70
Junior Member
Posts: 2
Joined: 29 Feb 2020, 14:59

Problem connecting to ftp after enabling csf

Post by motamedi70 »

hello

My problem is that when connecting to ftp if csf is enabled, ftp cannot be connected
But if ip in csf allow the connection is established !
How to fix a problem that connected to ftp without having to allow ip in csf?

thanks ...
motamedi70
Junior Member
Posts: 2
Joined: 29 Feb 2020, 14:59

Re: Problem connecting to ftp after enabling csf

Post by motamedi70 »

linux4me wrote: 29 Feb 2020, 18:05 The first thing I'd do is make sure you have the FTP ports open. If you're using the standard ports, 20 and 21, take a look at the IPv4 (and IPv6 if you're using it) settings and make sure ports 20 and 21 are listed in TCP_IN, TCP_OUT, UDP_IN, AND UDP_OUT. If you're using non-standard ports, you'll need to add those to the lists.

If FTP isn't the only issue, have a look at this post.
all port ftp is open !
20,21,1212,53,80,143,443,465,587,993,995,2222
If client ip is enabled in csf, ftp will connect without problems!
But if ip allow is not enabled, it will not be possible to connect to ftp
Why should we allow ip allow?
Why can't it connect to ftp without getting ip allow?
What option in csf should I enable or disable to connect to ftp without a problem?
Post Reply