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

OpenSUSE15.4 ; FTP Server

1. vsftpd

1.1 vsftpd Install

It is already installed at the time of openSUSE installation.
If not, you can install it with the following command

1.2 Edit vsftpd configuration file

Save the unedited vsftpd.conf with .bak.

Add users to allow directory access to upper level

OR

In my case I wrote suse.

Enable vsftpd autostart and start it

1.3 firewall settings

FTP port open (FTP uses 21)

From windows, check if you can connect with FileZilla
Start FileZilla and select "Site Manager" from the "File" menu.
"New site" click
Enter the following settings for each item and click "Connect"
Protocol : FTP - File Transfer Protocol
Host: server IP address
Port: (blank)
Encryption : Use explicit FTP over TLS if available
Logon Type: Ask for password
User : login user
Password : login user password
OK  click
If the connection is successful, you will see the server directory on the right and the Windows directory on the left.

2. vsftpd SSL/TLS

Configure Vsftpd to use SSL/TLS

2.1 Create self-signed certificates

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

2.2Edit vsftpd configuration file

Firewalld

When you connect to FileZilla as described above, the following screen appears, check the box and click "OK".

The connection is established as described above.

Copied title and URL