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

OpenSUSE15.3 ; FTP over SSL/TLS

1. vsftpd (FTP server installation)

1.1 Install vsftpd

It is already installed when you install openSUSE.
If it is not installed, you can install it with the following command

1.2 Edit vsftpd configuration file

Save the unedited vsftpd.conf with .bak.

Add a user to allow access to the directory to the upper level.

or

In my case, I wrote suse.

Enable and start vsftpd with auto-start enabled

If you see #, you are good to go.

1.3 firewall settings

Open FTP port (use 21 for FTP)

From the windows side, check if you can connect with FileZilla.
Launch FileZilla and select "Site Manager" from the "File" menu. ↓
Click "New Site".  ↓
Enter the settings for each item as shown below, and then click "Connect.
Protocol : FTP-File Transfer Protocol
Host : IP address of the server
Port: (blank)
Encryption : Use explicit FTP over TLS if available
Logon Type : Ask for password
User : General user name (server login user) ↓
Set the login user's password in the "Password" field and click "OK".
When the connection is successful, the server directory is displayed on the right side and the Windows directory on the left side.

2. vsftpd SSL/TLS

Configure Vsftpd to work with SSL/TLS

2.1 Create a self-signed certificate.

This step is not necessary if you use a trusted, legitimate certificate such as Let's Encrypt.

2.2 Allow Firewalld

Allow Firewalld
When you connect to FileZilla, the following screen will appear, check the box and click "OK". You are connected.
Copied title and URL