Create ftp server filezilla. Installing and configuring an FTP server under Windows

If you refer to articles of this kind, then once again remind you of the essence and purpose of such servers, most likely, it makes no sense, but for the sake of form, it is worth clarifying that File Transfer Protocol uses port 21 by default and can be used for viewing as an Internet browser and most file managers which includes Windows Explorer.

Continuing the obligatory introduction, let me remind you that for normal work in local network you will need to open port 21 in the Fierwall's server computer (obviously the one on which you will be configuring), and for access from the external network, you also need to forward this port on the router. The last reminders are necessary for the happy owners of firewalls and routers. So, if you are using these programs and devices, it will not be superfluous to read the instructions and complete the setup.

Let's start by making sure that our operating system can do this kind of work at all. To do this, just look at the name of the assembly and everything above the Home version is considered suitable for our needs.

Step one.

We find on the control panel the item "programs and components" and in it we go to the item "Enabling or disabling Windows components"

Step two

The menu that opens will offer us a list of components from which we must find and enable "IIS services" and all its sub-services. You need to get it like this:

Press the OK button and wait for Windows to complete the installation.

Step three

Now we need to start our server directly. In the same control panel, we find the "Administrative Tools" item, and in it "Internet Information Services Manager"

In the window that opens, in the left column, open the tree to the "Sites" tab and click on this tab with the right button. Choose "Add FTP Site"

Then we set the name of the site and the directory to which the ftp protocol will physically access

Next, the parameters for starting the server are determined and for easier access, it is worth specifying the launch without SSL. Whether to run it at system startup and whether to bind it to a specific address is up to you.

On next page put a tick in front of "Anonymous" and "Normal" and click done.

On this moment The FTP server is ready, but in order for us to use it, we will continue the configuration.

Now let's configure the Windows firewall

"Control Panel"→ "Windows Firewall"

Here we go into additional parameters.

Then you need to enable 2 rules for incoming connections

    FTP server ( incoming traffic)

    FTP server traffic in passive mode (incoming FTP traffic in passive mode).

For outbound connections in the firewall, you need to enable the following rule " FTP Server Traffic (FTP outgoing traffic) ”.

Step five

Now you need to create a user to work with the server. Why open the system console. Press the key combination Win + R and enter in the "mmc" field

in the console that opens, press Ctrl + M or the "file" menu - "Add or remove snap-in". A menu will open in which you need to add " Local users and groups "

If you have done everything correctly, you will get a window like this:

Now we create a group for the user of our FTP server.

Right-click on "Groups" - "Create a new group"

We give the command "create" and proceed to create a user.

Now we need to bind our user to the previously created group. To do this, go to the user properties on the "group membership" tab. There we press the button "add" and "additional" - "search". Now add the group we created a couple of minutes ago.

Step six

We need to specify group permissions for the directory that we specified when creating the server. To do this, open its properties to the "Security" tab and press the "Change" button:

Click the "Add" button and add the group that we created. We grant the group full access by ticking the appropriate checkbox at the bottom of the window:

Step seven

Let's go back to the FTP server settings

Go to the "authorization rules FTP "And create a permitting rule, where in We select "Specified roles or user groups" and write down the name of our group. Give this group read and write permissions and click OK.

Now your FTP server is configured and ready to go. Do not forget to check the Firewall and router for open ports for the site and you can safely get down to work.

Successful FTP transfer requires very precise and meticulous setup. True, in the latest client programs, to a large extent this process automated. Nevertheless, the need to make basic settings for the connection still remains. Let's get on detailed example Let's explore how to configure FileZilla, the most popular FTP client today.

In most cases, if your connection is not made through the router's firewall, and the communication provider or server administrator does not put forward any special conditions for connecting via FTP, then it is enough to make the appropriate entries in the Site Manager to transfer content.

For these purposes, go to the "File" section of the top menu, and select the "Site Manager" item.

You can also go to the Site Manager by opening the corresponding icon on the toolbar.

The Site Manager opens in front of us. To add a connection to the server, click on the "New site" button.

As you can see, on the right side of the window, the fields have become available for editing, and on the left side, the name of the new connection appears - "New site". However, you can rename it as you like, and how this connection will be more convenient for you to perceive. This parameter will not affect the connection settings in any way.

Next, go to the right side of the Site Manager, and begin to fill in the settings for the "New Site" account (or whatever you call it in another way). In the "Host" column, write down the address in alphabetic form or the IP-address of the server with which we are going to connect. This value must be obtained on the server itself from the administration.

We select the file transfer protocol supported by the server to which we are connecting. But, in most cases, we leave this value at the default "FTP - File Transfer Protocol".

In the encryption column, also, if possible, leave the default data - "Use explicit FTP over TLS if available." This will maximize the protection of the connection from intruders. Only if you have problems connecting over a secure TLS connection, it makes sense to select the "Use regular FTP" option.

The default login type in the program is set to anonymous, but most hosting and servers do not support anonymous connection. Therefore, we select either the item "Normal" or "Request a password". It should be noted that if you select the normal login type, you will connect to the server through account automatically without entering additional data. If you select the "Request password" item, you will have to enter the password manually each time. But this method, although less convenient, is more attractive from a security point of view. So it's up to you to decide.

In the next fields "User" and "Password" you enter the username and password given to you on the server to which you are going to connect. In some cases, you can later, if you wish, change them by filling out the appropriate form directly on the hosting.

You do not need to make any changes in the other tabs of the Site Manager "Advanced", "Transfer Settings" and "Encoding". All values ​​should remain by default, and only in case of some connection problems, according to their specific reasons, you can make changes in these tabs.

After we have entered all the settings to save them, click on the "OK" button.

Now you can connect to the appropriate server by going through the site manager to the required account.

General settings

In addition to the settings for connecting to a specific server, there are general settings in the FileZilla program. By default, the most optimal parameters are set in them, so that often users in this section never come in. But there are individual cases when certain manipulations are still required in the general settings.

In order to get into the general settings manager, go to the section of the top menu "Editing", and select the item "Settings ...".

In the first opened "Connection" tab, you enter such connection parameters as timeout, maximum number of connection attempts and pause between waits.

The FTP tab indicates the type of FTP connection: passive or active. The default is passive. It is more reliable, since with active connection if there are firewalls and non-standard settings on the provider's side, connection defects are possible.

In the section "Transmissions" you can configure the number of simultaneous transmissions. In this column, you can select a value from 1 to 10, but the default is 2 connections. Also, if you wish, you can specify the speed limit in this section, although by default it is not limited.

In the "Interface" section, you can edit the appearance of the program. This is probably the only section of the general settings for which it is permissible to change the default settings, even if the connection is correct. Here you can select one of the four available types of panel layouts, specify the position of the message log, set the program's folding to tray, make other changes in appearance applications.

The name of the "Language" tab speaks for itself. Here you can select the language of the program interface. But, since FileZilla automatically detects the language installed in the operating system and selects it by default, in most cases, no additional steps are required in this section.

In the section "Editing files" there is an opportunity to assign a program with which it will be possible to remotely edit files directly on the server without downloading them.

In the "Updates" tab there is access to setting the frequency of checking for updates. The default is one week. You can set the parameter "every day", but given the actual timing of the release of updates, this will be an unnecessarily frequent parameter.

In the "Login" tab you can enable the log file recording and set its maximum size.

The last section - "Debug" allows you to enable the debug menu. But this feature is only available to very advanced users, so for people who are just getting acquainted with the capabilities of FileZilla, it is definitely not useful.

As you can see, in most cases, for the correct operation of the FileZilla program, it is enough to make settings only in the Site Manager. The general settings of the program by default have already been selected the most optimal, and it makes sense to intervene in them only if there are any problems with the operation of the application. But even in this case, these settings must be set strictly individually, with an eye on the features operating system, provider and server requirements, as well as installed antiviruses and firewalls.

Good day, dear readers! There have been many messages lately asking me to tell you how to install your own FTP server in home (or not so) conditions.

Preparing to install your FTP server

As promised, to begin with, briefly about what is FTP for those who don't know:

I would like to immediately note that the article will consider the option home use, without the tricky and subtle settings that are used in the case of full-fledged corporate servers.

To install, you need to download one of the multiple distributions that will help you deploy FTP-server. I personally recommend that you use FileZilla Server, for he, like the client I once mentioned (see the article on the link above), is extremely easy to install and configure, and also free.

You can download it, for example, at this link.

Install FTP FileZilla Server

After downloading the distribution, in fact, run its installation (meaning that you need to click on the downloaded exe-file) and follow the guidelines below.

On the first window, you need to agree with license agreement, click “ I Аgree”.

Standard(Standart) - an option for installation from scratch for the full functioning of the server.

Full(Full) - almost the same, but the source code of the program will also be copied to the installation folder, in case you want to change something in it.

FTP service only(Service only) - the FTP service is installed directly, without access to it through the interface. Useful if you plan to manage your file storage from another computer.

Control interface(Interface only) - unlike the previous point, only the graphical shell for managing the server is installed, but not the server itself. Use if you want to remotely access your FTP server.

Custom installation(Custom) - You are free to choose what you want to put on your computer.

On the next window, you need to select the installation folder, for example, “ C: \ Program Files \ FileZilla Server”. After selection, go to the next window (Next).

Now the installer will ask us to choose how to install and run the server.

There are three options:

  • As a service and start at login
  • As a service and start manually
  • Easy installation, run manually

It is recommended to choose the first or second option. The only difference is that in the second case, for the server to work, you will need to go to “ Control Panel - Administrative Tools - Service Management“, Find the service there in the list and start it yourself by clicking on the start button.

In addition, at this stage, you should specify the port through which the server management interface will be connected, that is, so to speak, your administration console, which will allow you to specify settings, see who and where connected, etc. To improve security, change it from standard (14147) to something else.

Also by default, the option to start the server after installation is checked (Start Server after setup completes)... You can leave this checkbox, or you can remove it. That's your business. Having done this, go to the last window using the button Next.

Here we select the options for launching the interface.

Again, there are three of them:

  • When logging in, for all users
  • At login, for the current user
  • Manually

The first option will work if you are the only user of the computer where the server is installed, and you, in principle, will still launch the interface automatically under all accounts of the operating system, or under only one.
The second is suitable for those who do not work on a computer alone. (that is, there are several accounts on the computer, used by different people) and wants no one else to rule it FTP server, that is, the interface was launched only from under the account in which the installation is now performed.

And the third option sets the launch parameter only manually, that is, it will not start with the system at all.
Let me remind you that the interface is something like an administrative program that allows you to monitor the state of the server, start-stop and configure it.

Check mark (Start Interface after setup completes) in this window, again, sets the launch of the interface immediately at the end of the installation.

Well, having figured out all of this, you can finally start installing the server (using, of course, the button “ Install“)

Configuring FTP FileZilla Server

So, after installation, when you first start the interface, a small window will appear where you need to specify the address and port for connection, as well as the administrator password (the first time you install it is not there)... You can check the option “Connect to this server all the time” (Always connect to this server)... Click “ Ok“.

I would like to emphasize that this is a connection to the server locally, namely, a connection to the administration interface, that is, to issue an address 127.0.0.1 and port 14147 for a friend who wants to connect is useless. About external addresses, passwords and attendances required to connect to the server will be written in the course of the article.

Now let's move on to the settings. This is done by navigating to the address “ Edit -> Settings”Or by clicking on the button on the interface panel:

The settings window will open in front of you. On the first tab (General Settings), you can set the following parameters:

From top to bottom in the screenshot:

  • Port on which clients will connect to the server
  • Maximum number of clients
  • Number of threads
  • Various timeouts (three pieces)

Within the framework of this article, we are interested in the first two points. The port can be left as it is, or you can change it to improve security, but then you will have to inform everyone who wants to connect about it.

The second setting is responsible for the maximum number of connections. By default, the parameter value is “ 0 ”, This means that their number is not limited. It is worth changing this parameter if, for example, your Internet channel cannot cope with the load, because there are so many people connecting to you.

The rest can be left unchanged, because the settings are optimal for home use.

In the next sub-item, you can configure a welcome message that users will see when they connect. For example: " Server of Notes Sis. Admin!”. Here you can also use the so-called text parameters. For example, you can set the output for clients of the version ftp-server. To do this, enter, in addition to the greeting, a combination of characters % v... In the place where you enter them, the above version will be automatically displayed.

Next, go to the sub-item “ IP bindings”. Configured here IP-addresses where our FTP server. If you want the server to be accessible only from the local network, then instead of an asterisk, you should specify your local IP-address, such as 192.168.1.5 ... Otherwise, there is nothing to touch here.

In the subparagraph “ IP Filter”Can be set IP addresses (or their range) that will be prohibited from connecting to your server, as well as set exceptions from the specified range (second field). Ie, for example, if you want to ban someone and prohibit him from getting to your server, then indicate him in the first window. Also, if you want to grant access only to someone specific and deny everyone else, then put an asterisk in the first field and set the list IP-addresses in the second.

Tab “ Passive mode settings”Regulates the parameters for passive connection to the server and its response. It is worth changing something here only if you are not connected to the Internet directly, but through the router on which the firewall lives and NAT... In this case, you may need to specify in the field “ Use the following IP”Your external IP-address (you can ask your provider or in the router interface), as well as set the range of ports (Use custom port range) through which the client can connect to your server in passive mode. It's worth touching these settings, perhaps, only in case of problems with connecting users. In case of these and it is impossible to figure it out on your own, I will give you advice on the settings exclusively for you (write comments).

Settings section “ Miscellaneous”Contain settings that are insignificant for a home FTP server. For example, such as “ Don't show password in log files(Don’t show passwords in message log), “Launch interface minimized”(Start minimized), as well as the size of the transmit buffers. In general, you don't need to touch anything here.

On the “ Admin Interface Settings”Can be set IP-address and port through which the server management interface will be available (the same one that we first used as 127.0.0.1 and 14147 , that is, if you wish, you can change them)... Alternatively, you can specify IP-addresses that are allowed to connect to it.

Settings section “ Logging”Allows you to enable logging to file, configure their maximum size (Limit log file size to), write everything to one file (Log all to “FileZilla Server.log”) or create a separate one for each day (in this case, you can limit their maximum shelf life).

Tab “ GSS Settings”Is responsible for using the protocol Kerberos GSS... This option does not require configuration for normal use.

Then we have “ Speed ​​Limits”. It can help limit the speed of incoming and outgoing connections. There are two ways to limit: set a constant limit for the entire time, or create rules for a specific day and / or hour. Limits are specified in kilobytes.

Tab “ Filetransfer compression”Allows you to enable compression of files during transfer. In this case, you can configure the minimum and maximum compression levels, as well as specify the IP addresses for which compression will not be used. You don't have to touch anything.

To set up a secure connection between a client and a server, go to the “ SSL / TLS Settings”. Here you need to enable support for these protocols and specify the paths to private key, certificate file and password. For the average user, this is not necessary, so this article will not be covered.

Finally, you can enable automatic banning of users after n-th attempts of unsuccessful connections, and the time of the ban. To do this, go to the “ Autobans"And, if you need it, then check the box" Enable automatic bans“, Indicate in the column“ Ban IP adress after"The number of attempts after which the blocking will be carried out, as well as the blocking time in the" Ban for“. This is sometimes necessary so that unwanted persons do not spam your server with their attempts to connect.

Initial setup of user accounts (users) and shares (share)

Now let's configure user access, namely their accounts, passwords, folders, etc.
As an example, let's create the most, so to speak, common user and give him access.

So, to add a new account, follow, in the main window of the interface, along the path “ Edit-> Users”. We will be presented with a window for working with users.

To add a new one, click “ Add”. Next, you will need to set its name, for example, anonymous, and group membership (in our case we will not indicate)... We set, press “ Ok”.


Now for our new user, you can set a password and a limit on the number of connections. If necessary, do this by ticking the “ Password”And specifying it (password) in the window opposite. It is highly recommended to use passwords for users for security purposes.

Next, go to the “ Share Folders”. Here, in fact, we set which folders the user will have access to. This is done simply: click “ Add”And choose desired folder on disk. On the left, you can set access rights to it: read-only - “ Read", Record -" Write", Deletion -" Delete"And the ability to change existing files in the directory -" Append”. Below you can allow creating, deleting, listing files and distributing permissions to subdirectories.

We set the parameters and folders you need and .. OK

On this initial setup finished. For home use, you don't need more

User access to the server.

So that your friends can use your FTP server, you need to provide them with it IP-address, as well as your specified username (s), password (s) and, if necessary, the port (if changed), which they must indicate in their pre-set FTP-client.

Learn external IP-address can be by contacting the provider, looking in the settings of the router or, simply, using one of the many services, such as www.2ip.ru (as you probably guessed, you need what is written under the text "Your IP address:").

Afterword.

Here are the things.

Despite the fact that the article is focused as much as possible for small home use, I tried to explain everything in as much detail as possible. required settings and nuances.

There are often times when we need to exchange files with someone on the network. For small files, you can use mail or transfer the file, for example, via an Internet pager. This is acceptable when its size does not exceed a few megabytes. And if it's a movie or a game, or an archive with photos of several gigabytes ?! You can, of course, use a public file hosting service, split the file into parts and provide it for download, but here, too, not everything is smooth, most users are used to downloading for free, and this, as a rule, is speed limiting and waiting for a timer. This is where it comes to our aid own FTP-server (File Transfer Protocol).
What are the advantages of your own FTP server:

  • server management;
  • server user and resource management;
  • there are no speed limits if you do not want it yourself;
  • no need to pay for hosting the server to the hoster;
  • there is no need for a static (permanent) IP address for the server.

Everything in order

In this article, I invite the readers of MirSovetov to consider how, having a dynamic address and a connection using ADSL technology, make sure that any network user, regardless of where he is on the planet, can access your FTP server, of course, from your permissions. In order for your FTP server to be available, you need a service that will match Domain name Your IP address. Domain name mapping is handled by the DNS server.
What is a DNS server ?! It is a domain name system (DNS) that allows you to map a domain name to an IP address. Thanks to DNS, we do not type IP addresses in the address bar of the browser, but the names of sites that are understandable and familiar to us. But a regular DNS server only works with static IP addresses, and we cannot bind our dynamic IP address to a domain name. So what do we need to have a domain name for our FTP server ?! We will need to register in such a system that can provide us with such a service that will track the change in our IP address and match it to our domain name and, preferably, completely free of charge.
Today, the most popular services are DynDns (http://www.dyndns.com/) and No-IP (http://www.no-ip.com/). Since there are no special differences in them, we will consider one of them in a little more detail.

registration

We will register at DynDNS.com. Go to the page and click on the "Sing up Free" button, then on the "Sing Up" button.
In the "Hostname" field we write the name that you like, the main thing is that it is not occupied by anyone. Next, select the domain you like from the list. The list of domains is quite large, so there is plenty to choose from.
In the "IP Address" field, you can enter your current IP address. That's it, nothing else needs to be changed or marked. You should have something like this:

Then click on the button at the bottom of the "Add To Cart" page, and if everything is in order and the domain name is not occupied by anyone, then the registration process will continue, otherwise the system will prompt you to change the name or domain. In our case, everything went well, and Dynamic DNS Hosts was created with the name mirsovetov.homeftp.net. Now we need to create our account. It should be noted right away that the email addresses of the mail.ru server are not allowed.

Well, here, in fact, that's all, it remains to go to the post office and confirm the registration. We follow the link specified in the letter and activate the service by clicking on the "Activate Services" button. I do not recommend the readers of MirSovetov to get involved in creating a large number names, since the service will provide no more than five names for free, and even if you delete those you do not need, the counter will still not be reset. So pay enough attention to the name.
Now we need a little program that will track your IP address change and send it to be matched against the domain name. It is located on the Support page (https://www.dyndns.com/support/). Download DynDNS® Updater, install, log in. There are no difficulties in this. The program will start automatically at system startup.
So, with our dynamic address we figured out, now the DynDNS service will provide us with a permanent domain name for our FTP server. It's time to move on to installing and configuring our FTP server on your home computer. We will use the Pablo's FTP server program due to its availability, free of charge, simplicity and intuitiveness. clear interface(you can download it from the link: http://gooddi.webhop.net/files/pablos_ftp_server_v1_52.rar).

Installing and configuring an FTP server

To get started, download the Pablo's FTP server program and unzip it to any place convenient for you. The program works without installation and requires minimal settings. Let's create a folder "FTP_SERVER" to which we will provide access.
Let's start the program and go to the "Configuration" tab:

In the "IP address" field, enter the IP address of the computer on which the FTP server is running. If you have one computer at home and your ADSL modem has the address 192.168.1.1, but nothing has changed in the modem settings, then the computer address will be 192.168.1.2. This can be found by clicking on the icon network connection right-clicking and selecting the "Status" item in the menu, then going to the "Support" tab, or by executing the "ipconfig" command in command line(press "Win + R", enter "cmd" without quotes, and in the window that opens, type "ipconfig" also without quotes). I think that all the other parameters do not need an explanation ("Autostart", "Start minimized to tray", "Automatically activate the server at startup").
Now let's start creating users, assigning root directories and rights to them. Click the "Add" button and create a "guest" user. After clicking "Ok", the program will ask you to specify the root directory for the user, above which he will not be able to climb, wherever it is. You can set a password and assign rights for the user. The number of users is limited by your imagination, but you should not get carried away, otherwise you yourself will get confused. As you can see in the image below, we created the user “guest”, gave him a password and the root directory “FTP_SERVER”, gave him the rights to upload, download and create directories. If you wish, you can connect a virtual directory, which can be located anywhere, but will be visible in the user's root directory. This feature is available in the "Directories" tab.

We press the "Start" button - and your server will start working. It remains to check his work. Click "Start - Run" (or the key combination "Win + R") and write the following address: ftp://192.168.1.2.
If everything is in order, you will see the user authentication window, in which we enter the name "guest" and the password that was set for this user. As a result of the work, you will see an explorer window - this means that your FTP server is working. But for now, your server is only available locally.
In order for your server to be accessible from, you need to do one more thing, namely, configure your ADSL modem so that it sends requests to your FTP server. This is called port forwarding.

Modem configuration

To do this, you need to enter the modem interface. Most likely, its address is 192.168.1.1. Check the documentation for your modem. You need to enter it in the address bar of your browser. Further, the settings will be on the example of the D-Link ADSL modem, in other models of the modems the settings are not much different.
So, you entered the modem interface, go to the "Advanced Setup - NAT - Virtual Server" section and click the "Add" button. In the window that opens, select "FTP Server" from the list, then in the line "Server IP Address" write the address of the computer on which you have FTP-Server running (in our case - 192.168.1.2), click "Add / Apply" and restart modem. After downloading the modem, you can send emails to your friends and tell them that you are happy to give them access to your own FTP server for file sharing. Do not forget to provide them with the address that you registered with the DynDNS.com service. For greater convenience, so that you do not have to explain to your friends how, where and what they need to enter, you can create a shortcut for connection yourself and send it by mail.

Create a connection shortcut

To do this, you need to open the control panel and click the "Network Neighborhood" icon, then in the network tasks select "Add a new item to the network environment". The Add to Network Neighborhood Wizard will start. Click "Next" and in the line " Network address or Internet address ”, enter the address that you registered in the DynDNS.com system. In the next window, uncheck the "Anonymous login" checkbox and enter the username "guest". Next, give a name to the shortcut, for example, "MyFTP_Server", and complete the wizard. You can uncheck the box "Open this place in the network environment upon completion of the wizard", because when you open this address you will be taken to the modem configuration interface, your server is available locally for you at the address of the computer on which the FTP server is running. Now you can send this shortcut by mail with the words "Rate your friends, how cool I am, I have my own FTP server."
It is worth drawing the attention of the readers of MirSovetov that the FTP server works great with the Download Master download manager and supports multithreading, resuming files, and also works great with any FTP client.
So we finished creating and running our own FTP server on home computer, not that difficult, is it, and at no cost. But how can you facilitate the exchange of files between users and at a good speed, without any restrictions.
I wish you all success in your endeavors.

Good day, dear readers! As you understood from the title, today we will talk about FileZilla Server and creating your FTP the server itself.

There have been many messages lately asking me to tell you how to install your own FTP server in home (or not so) conditions.

About what is FTP, if someone suddenly does not know, you can find out in this article of mine "" or immediately start reading (within the framework of this article there are a few words about the protocol itself).

Preparing to install your FTP server

As promised, to begin with, briefly about what is FTP for those who don't know:

I would like to immediately note that the article will consider the option of home use, without the tricky and subtle settings that are used in the case of full-fledged corporate servers.

To install, you need to download one of the multiple distributions that will help you deploy FTP-server. I personally recommend that you use FileZilla Server, because it, like the client I once mentioned (see the article on the link above), is extremely simple to install and configure, and also free.

Install FTP FileZilla Server

After downloading the distribution kit, in fact, start its installation (meaning that you need to click on the downloaded exe-file) and follow the guidelines below.

On the first window you need to agree with the license agreement, click “ I Аgree”.

  • Standard(Standart) - an option for installation from scratch for the full functioning of the server.
  • Full(Full) - almost the same, but the source code of the program will also be copied to the installation folder, in case you want to change something in it.
  • FTP service only(Service only) - the FTP service is installed directly, without access to it through the interface. Useful if you plan to manage your file storage from another computer.
  • Control interface(Interface only) - unlike the previous point, only the graphical shell for managing the server is installed, but not the server itself. Use if you want to remotely access your FTP server.
  • Custom installation(Custom) - You are free to choose what you want to put on your computer.

On the next window, you need to select the installation folder, for example, “ C: \ Program Files \ FileZilla Server”. After selection, go to the next window ( Next).

Now the installer will ask us to choose how to install and run the server.

There are three options:

  • As a service and start at login
  • As a service and start manually
  • Easy installation, run manually

It is recommended to choose the first or second option. The only difference is that in the second case, for the server to work, you will need to go to " Control Panel - Administrative Tools - Service Management", find the service there in the list and start it yourself by clicking on the start button.

FileZilla Server Port and Initial Startup

In addition, at this stage, you should specify the port through which the server management interface will be connected, that is, so to speak, your administration console, which will allow you to specify settings, see who and where connected, etc. To improve security, change it from the standard ( 14147 ) to something else.

Also, by default, the Start Server after setup completes option is checked. You can leave this checkbox, or you can remove it. That's your business. Having done this, go to the last window using the button Next.

Here we select the options for launching the interface.

Again, there are three of them:

  • When logging in, for all users
  • At login, for the current user
  • Manually

The first option will work if you are the only user of the computer where the server is installed, and you, in principle, will still launch the interface automatically under all accounts of the operating system, or under only one.

The second is suitable for those who work on a computer more than one (that is, on a computer there are several accounts used by different people) and wants no one else to manage it FTP server, that is, the interface was launched only from under the account in which the installation is now performed.

And the third option sets the launch parameter only manually, that is, it will not start with the system at all.

Let me remind you that the interface is something like an administrative program that allows you to monitor the state of the server, start-stop and configure it.

Check mark ( Start Interface after setup completes) in this window, again, sets the launch of the interface immediately at the end of the installation.

Well, having figured out all of this, you can finally start installing the server (using, of course, the button " Install") :)

Initial FTP FileZilla Server setup

So, after installation, when you first start the interface, a small window will appear where you need to specify the address and port for connection, as well as the administrator password (it is not there during the first installation). You can check the "Always connect to this server" option. Click " Ok".

I would like to emphasize that this is a connection to the server locally, namely, a connection to the administration interface, that is, to issue an address 127.0.0.1 and port 14147 for a friend who wants to connect is useless. About external addresses, passwords and attendances required to connect to the server will be written in the course of the article.

Now let's move on to the settings. This is done by going to the address " Edit -> Settings"or by clicking on the button on the interface panel:

The settings window will open in front of you. On the first tab (General Settings), you can set the following parameters:

From top to bottom in the screenshot:

  • Port on which clients will connect to the server
  • Maximum number of clients
  • Number of threads
  • Various timeouts (three pieces)

Within the framework of this article, we are interested in the first two points. The port can be left as it is, or you can change it to improve security, but then you will have to inform everyone who wants to connect about it.

The second setting is responsible for the maximum number of connections. By default, the parameter value is “ 0 ”, This means that their number is not limited. It is worth changing this parameter if, for example, your Internet channel cannot cope with the load, because there are so many people connecting to you.

The rest can be left unchanged, because the settings are optimal for home use.

In the subparagraph “ IP Filter”Can be set IP addresses (or their range), which will be prohibited from connecting to your server, as well as set exceptions from the specified range (second field).

Ie, for example, if you want to ban someone and prohibit him from getting to your server, then indicate him in the first window. Also, if you want to grant access only to someone specific and deny everyone else, then put an asterisk in the first field and set the list IP-addresses in the second.

Tab “ Passive mode settings”Regulates the parameters for passive connection to the server and its response.

It is worth changing something here only if you are not connected to the Internet directly, but through the router on which the firewall lives and NAT... In this case, you may need to specify in the " Use the following IP"its external IP-address (you can find out from the provider or in the router interface), as well as set the port range (Use custom port range) through which the client can connect to your server in passive mode.

It's worth touching these settings, perhaps, only in case of problems with connecting users. In case of these and the impossibility to figure it out on your own, I will give you advice on the settings exclusively for you (write comments).

Settings section “ Miscellaneous”Contain settings that are insignificant for a home FTP server. For example, such as “ Don't show password in log files”(Don" t show passwords in message log), “ Launch interface minimized”(Start minimized), as well as the size of the transmit buffers. In general, you don't need to touch anything here.

On the “ Admin Interface Settings”Can be set IP-address and port through which the server management interface will be available (the same one that we initially used as 127.0.0.1 and 14147 , i.e., if you wish, you can change them). Alternatively, you can specify IP-addresses that are allowed to connect to it.

Settings section “ Logging”Allows you to enable logging (Enable logging to file), configure their maximum size (Limit log file size to), write everything to one file (Log all to" FileZilla Server.log ") or create a separate one for each day (in in this case, you can limit their maximum shelf life).

Tab “ GSS Settings”Is responsible for using the protocol Kerberos GSS... This option does not require configuration for normal use.

Residual FTP server settings - speeds, encryption, etc.

Then we have “ Speed ​​Limits”. It can help limit the speed of incoming and outgoing connections. There are two ways to limit: set a constant limit for the entire time, or create rules for a specific day and / or hour. Limits are specified in kilobytes.

Tab “ Filetransfer compression”Allows you to enable compression of files during transfer. In this case, you can configure the minimum and maximum compression levels, as well as specify the IP addresses for which compression will not be used. You don't have to touch anything.

To set up a secure connection between a client and a server, go to the “ SSL / TLS Settings”. Here you need to enable support for these protocols and specify the paths to the private key, certificate file and password. For the average user, this is not necessary, so this article will not be covered.

Finally, you can enable automatic banning of users after n-th attempts of unsuccessful connections, and the time of the ban. To do this, go to the “ Autobans”And, if you need it, then check the box" Enable automatic bans", indicate in the column" Ban IP adress after"the number of attempts after which the blocking will be carried out, as well as the blocking time in the field" Ban for".

This is sometimes necessary so that unwanted persons do not spam your server with their attempts to connect.

Initial setup of user accounts (users) and shares (share) in FileZilla Server

Now let's configure user access, namely their accounts, passwords, folders, etc.
As an example, let's create the most, so to speak, common user and give him access.

So, to add a new account, follow, in the main window of the interface, along the path “ Edit-> Users”. We will be presented with a window for working with users.

To add a new one, click “ Add”. Next, you will need to set its name, for example, anonymous, and group membership (in our case, we will not indicate). We set, press “ Ok”.



Now for our new user, you can set a password and a limit on the number of connections. If necessary, do this by ticking the " Password"and specifying it (password) in the box opposite. It is highly recommended to use passwords for users for security purposes.

Next, go to the “ Share Folders”. Here, in fact, we set which folders the user will have access to. This is done simply: click “ Add”And select the desired folder on the disk. On the left, you can set access rights to it: read-only - “ Read", Record -" Write", Deletion -" Delete"And the ability to change existing files in the directory -" Append”. Below you can allow creating, deleting, listing files and distributing permissions to subdirectories.

We set the parameters and folders you need and .. OK

This completes the initial setup. For home use, you don't need more;)

User access to the server FileZilla Server

So that your friends can use your FTP server, you need to provide them with it IP-address, as well as your specified username (s), password (s) and, if necessary, the port (if changed), which they must indicate in their,.

Learn external IP-address can be by contacting the provider, looking in the settings of the router or, simply, using one of the many services, such as (as you probably guessed, you need what is written under the text "Your IP address:";)).

Afterword

Here are the things.

Despite the fact that the article is focused as much as possible for small home use, I tried to explain in as much detail as possible all the necessary settings and nuances FileZilla Server.

As always, if you have any questions, additions, etc., then write in the comments - I will be happy to help.

PS: For the existence of this article, special thanks to a friend of the project and a member of our team under the nickname “ Kellis "y“.