OpenSUSE15.6 ; 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

In my case I wrote huong

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

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.2 Edit vsftpd configuration file

2.3 Firewalld

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

Copied title and URL