Skip to main content

FTP server in Ubuntu desktop


How to install vsFTP in ubuntu desktop?

First# Install vsftpd

Type following commnad

$sudo apt-get install vsftpd

Second# Configure /etc/vsftpd.conf

You need to modified default /etc/vsftdp.conf file to access to the ftp server

$sudo vim /etc/vsftpd.conf

Make sure following lines should be uncomment
listen=yes
local_enables=yes
write_enables=yes
dirmessage_enable=yes
use_locatime=yes
xfrelog_enable=yes
connect_from_port_20=yes
ftpd_banner=Welcome to Jay FTP server
chroot_local_user=yes
chroot_list_enable=yes
chroot_list_file=/etc/vsftpd.chroot_list



Third#Now make a file name vsftpd.chroot_list 
(Otherwise you may encounter following  error,
500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list)

$ sudo vi /etc/vsftpd.chroot_list
(add a user on this file)
e.g jay
(

Fourth# Restart vsftpd
$sudo /etc/init.d/vsftpd.restart


To check your ftp server is working or not just use this command
$ftp localhost

If all setting is fine then your ftp sever is ask for username and password.

This is simple step to create ftp server, for more secure and advance service just use google.

Comments

  1. I just did everything exactly that you stated above. I created a user, added it to the chroot list and tried to login via CuteFTP from outside our network to the FTP server's NAT'd address. I keep receiving the error "Login incorrect". The login info is correct. Is there anything else that we need to do? Please help!

    ReplyDelete
  2. It's difficult me to understand your topology,can you explain issue in detail. However for NAT'd address, you must port forward in your NAT'd router.

    ReplyDelete

Post a Comment

Popular posts from this blog

Mikrotik Hotspot Redirect After Login

This tutorial assumed you already create Hotspot in your router. If you don't know how to create a hotspot in Mikrotik router, click here and create the Hotspot. . After successfully creating the hotspot server go to "Files" Menu of  the main Window of Mikrotik router Copy "hotspot" folder into your PC. Open "alogin" file with text editor Replace "link-redirect" text with your desire URL Now you're done! After successfully logging into the Hotspot server your client automatically redirects to your external link.  Don't forget to copy this folder into Mikrotik Router "Files" Menu. You can also drag and drop this folder into "Files" menu. 

Cisco ASA in GNS3

Here is another tutorial running Cisco ASAv on GNS3 using Qemu. For Configure GNS3 In My case I have used ASAv952-204.qcow2 Go  to the GNS3>Edit>Preferences>QEMU>Qemu VMs>New Follow on screen procedure.  Don't forget to enable kvm and memory allocation.  Now you can see I can run ASAv 9.5.2 Blank Password.

IOS XR GNS3 QEMU

This time lets have tutorial on Cisco XR 9k series router image running on the GNS3. Please don't ask for the XR image. Your are smart enough to get it. My system configuration: Ubuntu 16.04 GNS3 1.4 RAM 8Gig i7 processor Used XR Image iosxrv-k9-demo-6.0.1.qcow2 This image is VIRL extracted image. You need to convert this image into QEMU image, follow this link I strongly recommend you to run it on the Linux system. Now you have converted image, then go to the GNS3>Edit>Preferences>QEMU>Qemu VMs>New then follow the onscreen procedure. Setting for QEMU XR Image. RAM:- 4Gig CPU:- 1 Adapters at lest 4.  -enable-kvm Here you can see I can run the XR on my system. Interface is up and system is already booted.  I have run 3 XR router  here is my system RAM CPU usages. RP/0/0/CPU0:XR3(config)#int gi0/0/0/0 RP/0/0/CPU0:XR3(config-if)#ip add 192.168.13.2 255.255.255.252 RP/0/0/CPU0:XR3(config-if)#co