How to open passive port 35000 35999?

ajbar6519

New member
Joined
Jun 18, 2021
Messages
2
Hi,

I have already enabled the passive port 35000 35999 on the CSF. However, I am at a loss on how to open the port.

Some instruction mention iptables, but I cannot find the file related to it.

At the moment, using FileZilla, I am stuck at retrieving the directory:

Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...

Hope somebody can help me resolve it.

Thanks and regards,
Jalil
 
I have run this command:

iptables -nL | grep dpts
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpts:35000:35100

Does the above show that the port is already open?
 
Hi,

I have already enabled the passive port 35000 35999 on the CSF. However, I am at a loss on how to open the port.
Do you mean you enabled passive port in the ftp config, and you want to open the port using CSF?

If yes, you can add the port range in TCP_IN option in csf.conf file and restart the service.

I have run this command:

iptables -nL | grep dpts
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpts:35000:35100

Does the above show that the port is already open?
Yes, the port range is opened.
 
Does the above show that the port is already open?
You should have that statement 2 times, 1 time for incoming and once for outgoing traffic.

Code:
iptables -nL | grep dpts
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            state NEW tcp dpts:35000:35999
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            state NEW tcp dpts:35000:35999

Also check if PASV is enabled in Filezilla and maybe also try with another client like SmartFTP to so if that also does not work.
 
Back
Top