I am a new Ubuntu-user (Ubuntu server with no GUI, couldn't find where to post so I post here) with a massive problem!
I have managed to get a Ubuntu Server up and running, I have managed to get Plex to work, I have managed to make Webmin to run, I have managed to get Samba to work, all I need now is to get SFTPD to work.
I have installed SFTPD, and I have managed to get a user that have access to the files I've mounted from my Samba-share and I have managed to log in to the ftp-server. But I still can't transfer any files larger than 1Mb (smaller files works fine).
I use FileZilla to transfer files and the response looks like this:
As you a timeout occurs when trying to transfer the larger file. My vsftpd.conf looks like this:Code:Status: Directory listing of "/Music/And One - 1998 - 9.9.99 9 Uhr" successful Status: Retrieving directory listing of "/Music/And One - 1998 - 9.9.99 9 Uhr/CD"... Status: Directory listing of "/Music/And One - 1998 - 9.9.99 9 Uhr/CD" successful Status: Resolving address of XXXX.asuscomm.com Status: Connecting to 81.16.167.94:21... Status: Connection established, waiting for welcome message... Status: Connected Status: Starting download of /Music/And One - 1998 - 9.9.99 9 Uhr/CD/And One - 9.9.99 9 Uhr.mp3.cue Status: File transfer successful, transferred 1 328 bytes in 1 second Status: Starting download of /Music/And One - 1998 - 9.9.99 9 Uhr/CD/03. Evil Boys.mp3 Command: PASV Response: 227 Entering Passive Mode (XXX,XXX,XXX,XXX,84,235). Command: RETR 03. Evil Boys.mp3 Response: 150 Opening BINARY mode data connection for 03. Evil Boys.mp3 (6810976 bytes). Error: Connection timed out after 20 seconds of inactivity Error: File transfer failed Status: Resolving address of XXXX.asuscomm.com Status: Connecting to 81.16.167.94:21... Status: Connection established, waiting for welcome message... Status: Connected Status: Starting download of /Music/And One - 1998 - 9.9.99 9 Uhr/CD/03. Evil Boys.mp3
Code:listen=YES local_enable=YES write_enable=NO local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key allow_writeable_chroot=YES And I have tried with this uncommented; #pasv_enable=Yes #pasv_max_port=12000 #pasv_min_port=12500
In my router I have forwarded port 12000-12500, port 20 and port 21 (all on TCP) to the server, I have also forwarded port 32400 for Plex (and that works without any hickups).
What have I done wrong, what else do you need to know?
I have googled, I have tried every single How to on the subject but no one seems to have this problem. I'm not very good at networking or Linux but with almost everything in place I wish I didnt have to write myself my own ftp-server in order to get this to work.
Bookmarks