What's going on guys is Bernardo from the BTNHD and today is all about installing and
configuring fileZilla server on Windows Server 2019.
So let's get started.
on my desktop.
I'm going to right click on the Start menu, click on Run, type in winver hit OK.
And I'm running everything within a server 2019 build 17763.
Okay, now we need to open up your favorite browser.
My favorite browser is Google Chrome.
And I'm going to type in fileZilla, hit enter.
Make sure that you are clicking on the right site that is pointing to fileZilla dash project.org.
It's going to take you here, you're going to click on the Download FileZilla server.
It's gonna take you to another web page, so click on Download FileZilla server.
If you want to learn more information, click on the learn more.
If not just click on download.
It's going to download the EXE file. on Chrome.
I'm going to click on the little arrow, click on show in folder.
It's going to open up my downloads folder.
I'm going to right click on that file, run it as an administrator.
Now from here, we're going to click on I agree, click Next, I'm gonna leave the destination
folder to C drive but you are able to change it.
So I'm going to click next here.
From here, I'm going to leave the default port for the interface of fileZilla to be
14147, but you are able to change it so don't worry about that.
So I'm going to click Next on that for the startup settings, I'm going to leave the default
and just click Install.
It's going to start installing and done completed Click Close once it's completed and you click
on Close it's going to launch itself is going to want you to enter a password.
Now by default it doesn't have a password.
So what you could do is just click on Connect again there is no password but we need to
assign a password okay also taking consideration for me.
This server is behind a NAT router.
So I need to configure passive mode settings which we are going to go over pretty soon
so don't worry about it.
So we are going to click on Edit, go to settings within settings we are going to go inside
admin interface settings and like I said before, you are able to change the admin interface
ports, which by default is 14147, you could change it to whatever you want.
And then check off change admin password, provide a new password and then confirm it.
And that will be your new password to start your server.
Okay.
Now next thing that we need to do is go inside general settings.
And by default, the FTP site is set to 21.
That is the default port for FTP.
I recommend that you guys change.
for this video, I'm gonna leave everything as the default right just to keep everything
nice and simple.
Now next thing that we need to do is go inside FTP over TLS settings by default is not enabled.
So we are going to enable FTP over TLS support which will give us ftps also give a checkmark
to disallow plain unencrypted FTP.
If you have an SSL certificate already for your FTP site.
You can actually insert it here.
I don't have one.
So I'm going to click on generate a new certificate.
You're going to get the dialog box just pick your key size.
enter all the information and then click on Generate.
And then you're going to get this nice little warning certificate generated successfully.
So click ok get out of that.
And the next thing that we need to do is by default, your TLS connection is 990.
I recommend changing that as well.
But for this video, I'm leaving it as 990.
Once you're done with all those settings, just click OK.
And again, I'm still getting that little red line stating that my machine is behind a NAT
firewall, I need to configure the settings of passive mode.
So don't freak out because I'm going to show you guys how to do that.
We need to configure our Windows Firewall.
So we are going to click on start.
Start typing in Windows Firewall, just firewall and just make sure you're clicking on Windows
Defender with advanced security.
But that load up, we're going to go inside inbound rules, right click on that go to new
rule.
It's going to be ports, click next and specify the ports that you provided.
Now again, for me for my example, my ports was 21 and 990.
But hopefully you guys change it within your environment.
So whatever ports you gave your FTP as well as your FTPS, make sure you add them here.
Once you add them there, you click next, modify the rules to be applied to your domain, private
or public, this is really up to you in your environment.
Click Next provide it a name, and then you're good to go.
Now, next thing that we need to do is go back inside your fileZilla server console and then
click on Edit and then go to groups.
Now within groups, we need to create a group and I'm going to click on Add, and then provide
a name and then hit OK.
Now that group that I gave was BTNHD FTP USERS, so whoever's inside this group will have access
to the FTP site, and also the share folder, which I'm going to provide that group.
Now if you click on Share folders, there's no directory that's being shared out.
So I'm going to click on Add and I'm going to pick my directory and done.
before you continue here, make sure that you give the proper files and directory permissions
to this particular group.
Okay, so right now by default, this group is only going to have read access.
If you want this group to have rights and delete, make sure you make those changes.
Once you make those modifications, just click OK.
Now next thing that we need to do is create a user, right, so you're going to click on
Edit, go to user.
And then from here, we are going to click on Add, create a username, and then hit that
drop down and then pick your group to add that user into and then hit OK.
Now by default, it's enabled.
So we need to give a password because if you don't have a password for your user kind of
means once anyone can have the username and they could just log into the FTP site.
So enable password, provide a password and then hit OK.
And then good to go.
Now, I found the machine that was off site, I did all this testing with him.
Azure.
So Azure and in local is two different networks.
So I found this I entered my host.
So put the username, put the password and then the port by default is 21.
But if you want you are able to into 21 when I hit Connect, you're going to get this.
This is a fileZilla thing.
Don't save the password and just hit OK.
And then because I created a self assign certificate, I got this and then hit OK.
When I went back inside the server, I went inside the fileZilla server console, and I
saw that it was trying to connect but it was still giving me errors.
I went back, I've retried again, and the directory wasn't being listed.
I was like, What the hell is going on, and I was all in passive mode.
So I went inside the server, the fileZilla server, I went to edit went to settings and
within here went inside passive mode settings.
Now by default, it's turned off, it's kind of turned off.
It's weird, because you have to like uncheck use custom port range, and then provide a
port for the passive mode.
Right.
Once you do that, you have to go back inside Start going inside windows defender the firewall
with advanced security, and then create a inbound rule for that passive port.
Alright, and then restart the fileZilla server.
And then it should work with no problem.
Go back inside your fileZilla client.
click on Quick Connect.
It's going to give you this.
It's already connected.
It's going to state already connected.
But I want to abort the previous connection and connect in current tab.
So hit OK.
It's going to establish if everything works well, it should say directory listing forward
slash successful.
Yes, directories there.
Yeah, awesome.
So if you go back inside the server, you look at your fileZilla server console, you're going
to see that BTNHD, the user account established the connection successfully, and it actually
mounted the directory that I shared out to that particular group.
And that's it guys.
Hopefully you guys enjoyed this video on how to install and configure fileZilla server
within server 2019.
If you have any comments or concerns, leave them at the bottom.
Don't forget about hitting that like button.
Also, make sure to punch, smash, elbow that subscribe button and share about the video
and I'll catch you guys on the next one.
Peace out!