delfer / docker-alpine-ftp-server

Small and flexible docker image with vsftpd server
194 stars 132 forks source link

Passive mode error #69

Open adrianliz opened 9 months ago

adrianliz commented 9 months ago
Connected to localhost.
220 Welcome Alpine ftp server https://hub.docker.com/r/delfer/alpine-ftp-server/
Name (localhost:root): user
331 Please specify the password.
Password:
230 Login successful.
ftp> ls
229 Entering Extended Passive Mode (|||40000|)
425 Security: Bad IP connecting.

what is the cause?

argus-mamadou commented 1 week ago

The promiscuous option (control of incoming connections) is set to No by default and the parameter allowing this variable to be modified does not exist in the vsftpd.conf file. To correct this, simply add the following line to the vsftpd.conf file: pasv_promiscuous=yes Either in your container or build a new docker image by modifying and adding the missing variable.