vsftpd is lightweight, highly stable, secure, and fast FTP server for Linux environment. vsftpd also supports virtual ip, virtual users, bandwidth throttling, IPv6, encryption etc..
Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.
This article provides step-by-step instructions to set up FTP Server on your LINUX machine:
STEP-1
Install vsftpd:
|
STEP-2
Configure your vsfpd configuration file. You can find it on location /etc/vsftpd.conf
Uncomment following options in vsftpd.conf file:
|
STEP-3
Restart vsftpd service:
|
Now, you can access you FTP server on port 21.
Test your set up:
|
For more configuration details, follow the link:
http://manpages.ubuntu.com/manpages/precise/en/man5/vsftpd.conf.5.html
Here, you can find more description of vsftpd configuration parameters.
Change Default Port VSFTPD
VSFTPD default port is 21. If you want to change default port to any other port, follow the steps:
Add following options to vsftpd.conf:
|
Allow outbound rule in firewall for these passive ports. You can save these using iptables:
|
Restart your vsftpd service after changing ports:
|
Enable SSL/TLS/FTPS
Add the following options in vsftpd.conf file to enable FTPS:
|
No need to create a certificate if openssl package is installed!
Restart your vsftpd service:
|
Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.
Both FTP and FTPS using vsftpd
If you want to start your FTP and FTPS server simultaneously, you can achieve it by starting 2 services of vsfpd.
1) Copy /etc/vsftpd.conf to /etc/vsftpd-ssl.conf
2) Edit and configure /etc/vsfpd-ssl.conf for FTPS server.
3) Save it.
4) First start vsftpd service (FTP) sudo service vsftpd start
5) Now, start vsftpd service for FTPS: sudo vsftpd /etc/vsftpd-ssl.conf
— Sharad Sinha
Best Open Source Business Intelligence Software Helical Insight is Here