VSFTPD-SERVER
============================================
FTP - File Transfer Protocol
Port no. - 20/21
Package - vsftpd
Daemon - vsftpd
----------------------------
THE BASIC CONCEPT OF FTP-SEVER
*********************************************
* FTP (File Transfer Protocol ) is the generic term for a group of computer programs aimed at facilitating the transfer of files or data from one computer to another. It originated in the "Massachusetts Institute of Technology " (MIT) in the early 1970s.
FTP Concepts and Definitions
The key definition to remember is the term "protocol," which means a set of rules or standards that govern the interactions between computers. It is a key component in many terms that are now taken for granted: FTP which, as has been said, sets the rules for transferring files between computers.
FTP transfer data in 2 forms 'ASCII' and 'Binary'
ASCII (American Standard code for Information Interchange), codes text nto binary (e.g. 0 or 1 ) sequences of 7 numbers per text item.
e.g. A = 01000000
Objectives of FTP were:
1. to promote sharing of files ( computer programs and /or data),
2. to encourage indirect or implicit (via programs ) use of remote computers,
3. to shield a user from variations in file storage systems among hosts, and
4. to transfer data reliably and efficiently.

--------------------------------------------------------------------------------------------------------------------------
Configuration instruction
-------------------------------------------
*Install the package 'vsftpd'
#yum install vsftpd* -y
*Configure the '/etc/vsftpd/vsftpd.conf'
#vim /etc/vsftpd/vsftpd.conf
anonymous - enable = yes
= no [ change yes = no ]
userlist_enable =yes
=no [ change yes = no ]
:wq save the file
#service vsftpd restart
(Note:- if we want to share other user to access for it we have to change yes = no )
*If = yes, it means only anonymous can access through ftp. If we want to that anonymous can't loging
through 'ftp' for it we have to change yes = no
yes = no
*Add the users in FTP
#vim /etc/vsftpd/user_list
root no - Access
yes - Not Access
bin
daemon
tom
dic
harry
:wq save the file
#service vsftpd restart
#service network restart
*Add the port no. in Firewall (iptables)
#iptabels -I INPUT -s 192.168.0.0/24 -p tcp -m multiport --dport 20,21 -j ACCEPT
(SAME WITH 'UDP' PROTOCOL )
#service iptables save
#service iptables restart
=================================================
============================================
FTP - File Transfer Protocol
Port no. - 20/21
Package - vsftpd
Daemon - vsftpd
----------------------------
THE BASIC CONCEPT OF FTP-SEVER
*********************************************
* FTP (File Transfer Protocol ) is the generic term for a group of computer programs aimed at facilitating the transfer of files or data from one computer to another. It originated in the "Massachusetts Institute of Technology " (MIT) in the early 1970s.
FTP Concepts and Definitions
The key definition to remember is the term "protocol," which means a set of rules or standards that govern the interactions between computers. It is a key component in many terms that are now taken for granted: FTP which, as has been said, sets the rules for transferring files between computers.
FTP transfer data in 2 forms 'ASCII' and 'Binary'
ASCII (American Standard code for Information Interchange), codes text nto binary (e.g. 0 or 1 ) sequences of 7 numbers per text item.
e.g. A = 01000000
Objectives of FTP were:
1. to promote sharing of files ( computer programs and /or data),
2. to encourage indirect or implicit (via programs ) use of remote computers,
3. to shield a user from variations in file storage systems among hosts, and
4. to transfer data reliably and efficiently.
--------------------------------------------------------------------------------------------------------------------------
Configuration instruction
-------------------------------------------
*Install the package 'vsftpd'
#yum install vsftpd* -y
*Configure the '/etc/vsftpd/vsftpd.conf'
#vim /etc/vsftpd/vsftpd.conf
anonymous - enable = yes
= no [ change yes = no ]
userlist_enable =yes
=no [ change yes = no ]
:wq save the file
#service vsftpd restart
(Note:- if we want to share other user to access for it we have to change yes = no )
*If = yes, it means only anonymous can access through ftp. If we want to that anonymous can't loging
through 'ftp' for it we have to change yes = no
yes = no
*Add the users in FTP
#vim /etc/vsftpd/user_list
root no - Access
yes - Not Access
bin
daemon
tom
dic
harry
:wq save the file
#service vsftpd restart
#service network restart
*Add the port no. in Firewall (iptables)
#iptabels -I INPUT -s 192.168.0.0/24 -p tcp -m multiport --dport 20,21 -j ACCEPT
(SAME WITH 'UDP' PROTOCOL )
#service iptables save
#service iptables restart
=================================================
Nice work buddy
ReplyDeleteIt would be better if you put some interview questions on it
Deo bhai please describe briefly about the user list and their access to ftp server
ReplyDelete