Page 1 of 1

[Solved] FTP download fast, upload to server very slow or interrupted

Posted: Thu Aug 20, 2020 3:50 pm
by dbxa
Hi all,
I have a problem with VSFTPD. If I download a file, speed is ok, but if I try to upload, it is terrible slow (around 20kb/s). I'm on Ubuntu 18.04.LTS and VESTACP 0.9.26
Here is my vsftpd.conf:

Code: Select all

local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
dual_log_enable=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
pasv_enable=YES
pasv_promiscuous=YES
#pasv_addr_resolve=YES
pasv_min_port=12000
pasv_max_port=12100
max_per_ip=30
max_clients=100
use_localtime=YES
utf8_filesystem=YES
ssl_enable=YES
allow_anon_ssl=NO
require_ssl_reuse=NO
###ssl_ciphers=HIGH
ssl_ciphers=TLSv1.2
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
rsa_cert_file=/usr/local/vesta/ssl/certificate.crt
rsa_private_key_file=/usr/local/vesta/ssl/certificate.key

iptables ports: 20,21,12000-12100 are open

Many thanks in advance for your help and ideas!

Re: FTP download fast, upload to server very slow or interrupted

Posted: Thu Aug 20, 2020 8:07 pm
by grayfolk
dbxa wrote:
Thu Aug 20, 2020 3:50 pm
Hi all,
I have a problem with VSFTPD. If I download a file, speed is ok, but if I try to upload, it is terrible slow (around 20kb/s). I'm on Ubuntu 18.04.LTS and VESTACP 0.9.26

Many thanks in advance for your help and ideas!
Try different clients, try turn on/off passive mode.

Re: FTP download fast, upload to server very slow or interrupted

Posted: Fri Aug 21, 2020 6:45 am
by dbxa
I did already. Tried Filezilla and WinSCP under Win10, turned off Firewall on Win10. Tried Filezilla @ Ubuntu 20.04LTS, passive and active. turned off iptables. Same behavior. I am a bit lost -_o_-

Re: FTP download fast, upload to server very slow or interrupted

Posted: Fri Aug 21, 2020 9:29 am
by dbxa
OK guys, i`ve got it: I made me a hotspot over LTE for my laptop and whooop, here we are, 1,5MB/s upload! So there must be a misconifguration at my lan. Thank you for your help!

It was a faulty networkadapter at my firewall - replaced it and evereything works fine...

VestaCP rulez :thumbsup