Home   Kaiming



Fedora8: FTP

FTP is easy to set up.

Just install the package.

Firewall configuration:

firewall

DNS and FTP pass through.

system-config-selinux to turn off SELinux if you allow clients to upload files.

chkconfig --level 35 on

/etc/vsftpd/vsftpd.conf
anonymous_enable=YES
listen=YES
service vsftpd start

You can access your FTP server.


default ftp root
anon_root=/var/ftp/
Default ftp user
ftp_username=ftp


/etc/vsftp/vsftpd.conf

anonymous_enable=YES

ascii_upload_enable=YES

anon_upload_enable=YES

anon_mkdir_write_enable=YES


ftp mylinux.test.com

ftp>cd pub/upload
ftp>put /etc/resolv.conf resolv.conf

ftpclient


Linux FTP is by default set to passive mode.

Passive FTP should be viewed as the server never making an active attempt to connect to the client for FTP data transfers. Because client always initiates the required connections, passive FTP works better for clients protected by a firewall.

example to specify the passive port range on FTP server:

passive


Home