fix(vsftpd): limit to 10 pasv ports
This commit is contained in:
parent
83a857ab87
commit
4a8f31228f
2 changed files with 2 additions and 2 deletions
|
@ -13,5 +13,5 @@ COPY [ "/src/docker-entrypoint.sh", "/" ]
|
|||
|
||||
CMD [ "/usr/sbin/vsftpd" ]
|
||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||
EXPOSE 20/tcp 21/tcp 40000-50000/tcp
|
||||
EXPOSE 20/tcp 21/tcp 40000-40009/tcp
|
||||
HEALTHCHECK CMD netstat -lnt | grep :21 || exit 1
|
||||
|
|
|
@ -28,7 +28,7 @@ max_clients=0
|
|||
max_per_ip=0
|
||||
pasv_enable=YES
|
||||
pasv_address=0.0.0.0
|
||||
pasv_max_port=50000
|
||||
pasv_max_port=40009
|
||||
pasv_min_port=40000
|
||||
port_enable=YES
|
||||
ftp_data_port=20
|
||||
|
|
Loading…
Reference in a new issue