Here are the steps...
Install the vsftpd-2.2.2-11.el6_3.1.x86_64 rpm. This will create the /var/ftp/pub directory
upload your stuff here.
Make changes to the /etc/vsftpd/vsftpd.conf file as per your requirement. I added a few as follows:
banner_file=/etc/vsftpd/issue
local_enable=YES
xferlog_std_format=NO etc...
Add entry in the iptables:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
restart the vsftpd daemon:
[root@smacentos6 mnt]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
Open the windows explorer or browser - It did not work.
Solution: load the following modules:
[root@smartcentos6 ~]# modprobe ip_nat_ftp
[root@smartcentos6 ~]# modprobe ip_conntrack_ftp
restart the vsftpd daemon:
[root@smacentos6 mnt]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
Again restart the
see the screenshot:
Thanks,
-Raj
No comments:
Post a Comment