Hi All,
Could someone maybe help me to set up an FTP server using vsftpd please?
Using YaST Control Center under Network Services, I installed the FTP Server along with vsfpd.
I’ve been at this for a while now, reading various ideas on what the config file should look like, but nothing works. I uninstalled vsftpd and started over fresh as quite a few changes had been made. I made a back up of the new config file. Below is a copy of the config file as it currently is . . .
write_enable=NO
dirmessage_enable=YES
nopriv_user=ftpsecure
local_enable=YES
anonymous_enable=YES
anon_world_readable_only=YES
syslog_enable=YES
connect_from_port_20=YES
ascii_upload_enable=YES
pam_service_name=vsftpd
listen=NO
listen_ipv6=YES
ssl_enable=NO
dsa_cert_file=
pasv_min_port=30000
pasv_max_port=30100
anon_mkdir_write_enable=NO
anon_root=/srv/ftp
anon_upload_enable=NO
chroot_local_user=NO
ftpd_banner=Welcome message
idle_session_timeout=900
log_ftp_protocol=YES
max_clients=10
max_per_ip=3
pasv_enable=YES
ssl_tlsv1=YES
xferlog_enable=YES
When I try to connect via Filezilla client, this error is displayed -
Status: Connecting to 192.168.1.110:21…
Status: Connection established, waiting for welcome message…
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Logged in
Status: Retrieving directory listing…
Command: PWD
Response: 257 “/home/bfg” is the current directory
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (192,168,1,110,117,58).
Command: LIST
Response: 150 Here comes the directory listing.
Error: Connection closed by server
Error: Failed to retrieve directory listing
I’m not transferring files to WAN or internet. I’m behind a router supplied by an ISP and it’s firewall is active.
I just want to transfer files between 2 PCs at home - one upstairs and one downstairs. As such, setting up SSL and certificates isn’t needed and I’m the only user.
Many thanks
Dumfy