

Now, restart vsftpd /etc/init.d/vsftpd restart Windows File Explorer allows you to connect to FTP servers by adding a network location and entering the server address, username, and password.
#Setting up ftp server on home network how to#
If you're using an FTP client like Filezilla, create a new connection to the IP address, and don't worry about the 'ftp://' part. Step One: How to Create FTP Server at Home Open FileZilla server interface and set up your server connection with 127.0.0.1 as IP. Replace 'ip-address-of-ftp-server' with the actual IP address. Set the umask, so the files the user uploads are also writable by group (www-data) local_umask=002Ĭhroot the user so he cannot move out of his home dir chroot_local_user=YES The address should follow the format ftp://ip-address-of-ftp-server:21. Touch these parameters: (if they are commented out, remove the #)ĭisable anonymous access to the server anonymous_enable=NOĪllow local users to use FTP local_enable=YES cat /etc/shells and look for /bin/false (it should not be there by default) - if it not there, add it: echo "/bin/false" > /etc/shells To do so, check out how to assign a domain name to your home server and how to access your home server behind a router and firewall. If you want to log into your FTP server over the internet, set up a memorable URL for it and allow connections from outside your network.
#Setting up ftp server on home network password#
This is a quick-howto do what I suggested:Ĭreate the user with the www-data group, no real shell and the correct home dir, set the password afterwards useradd -d /path/to/his/ -g www-data -s /bin/false theusername From the command line, type ipconfig to see what that address is. You could set the user's primary group to www-data and then create a umask that fits in vsftpd. Assign the Read&Write permissions on the directory C:inetpubftproot for the ftpusers group. Create the two other users in the same way. Add user to group: net localgroup ftpusers ftpuser1 /add.

Create a new local user: net user ftpuser1 /add. However, when a user uploads a file it will be set with his user and group following the defined umask. Create a local group: net localgroup ftpusers /add.

If you want to go with the FTP solution, vsftpd is indeed a fine choice. If you want to go with the SFTP only solution, I have created a blog post recently that describes exactly this including a few of the common errors:
