Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".(Japanese Version)

Fedora35 : FTP Server(Vsftpd)

FTP Server Installation

1. Vsftpd installation

2.Vsftpd configuration

Save the unedited vsftpd.conf with .bak

①Edit configuration file

②Add users to allow directory access to upper level

③ Specify IP addresses to allow connections in /etc/hosts.allow

Write vsftpd:ALL (deny all connections) in /etc/hosts.deny

This setting overrides hosts.allow.
That is, everything is denied, and the IP address specified in hosts.allow is allowed
④Enable vsftpd autostart and start it

⑤From windows side, check if you can connect with FileZilla.
Open the ftp port with firewall before connecting

Start FileZilla and select "Site Manager" from the "File" menu.↓
Click on "New site"  ↓
Enter the following settings for each item and click "Connect"
Protocol : FTP-File Transfer Protocol
Host : Server IP Address
Port :can be blank
Encryption : Use expllict FTP ocver TLS if available
Logon Type : Ask for password
User  : General user name (server login user) ↓
Set the password for the login user in "Password" and click "OK".

Click "OK" when the following screen appears

If the connection is successful, the server directory is displayed on the right and the Windows directory on the left.  ↓

vsftpd SSL/TLS

Configure Vsftpd to use SSL/TLS

1. Create self-signed certificates

This work is not required if you are using a trusted, legitimate certificate such as Let's Encrypt.

2. Vsftpd Configuration

Allow passive ports in Firewalld
When connecting to FileZilla, the following screen appears, check the box and click "OK" to connect as described above.
Copied title and URL