It seems that I have a configuration problem and I need help.
I've a webserver, under Debian Jessie with pure-ftpd-mysql installed (and updated).
I can connect to the server via FTP when it's in active mode, but when I ask to pass on passive mode, I've got an operation timeout :
ftp ftp.***.com
Connected to ftp.***.com.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 12:31. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (ftp.***.com:tilotiti):
331 User tilotiti OK. Password required
Password:
230 OK. Current restricted directory is /
ftp> ls
200 PORT command successful
150 Connecting to port 50405
drwxr-xr-x 2 2001 ftp 4096 Dec 21 11:12 test1
drwxrwxrwx 2 2001 ftp 4096 Apr 28 2017 test2
226-Options: -l
226 2 matches total
ftp> passive
Passive mode on.
ftp> ls
227 Entering Passive Mode (10,3,98,75,127,233)
ftp: connect: Operation timed out
ftp>
I'm hosted on scaleway, and I checked that there where no rule configured as network firewall.
I tried to configure some passive range ports, by creating the file /etc/pure-ftpd/conf/PassivePortRange :
30000 50000
I've checked that my server firewall was not blocking the connection :
$ iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
And I rebooted the server to be sure that the new configuration has been taken.
But it doesn't work, i'm totally lost now. I need this passive connexion.
Anyone can help me please ?
Thank you very much.