業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

OpenSUSE16.0 : FTP Server & SSL implementation

1. vsftpd( FTP Server )

1.1 Install
1.2 Editing Configuration Files

Save the original vsftpd.conf file with the .bak suffix before editing.

Add users who are permitted to access the upper-level directory

In my case, I wrote huong.

Enable vsftpd to start automatically and start it.

1.3 firewall設定

Open FTP Port (FTP uses port 21)

From the Windows side, I'll verify whether I can connect using FileZilla.
Launch FileZilla and select "Site Manager" from the "File" menu. 

Click "New site"

Enter the settings for each item as follows, then click "Connect":
Protocol: FTP - File Transfer Protocol
Host: Server IP address
Port: (Leave blank)
Encryption: Use explicit FTP over TLS if available
Logon Type: Ask for password
User: Server login user

Set the login user's password in "Password" and click "OK".

Upon successful connection, the server directory will appear on the right side and the Windows directory on the left side.

2. vsftpd SSL/TLS

Configure vsftpd to enable SSL/TLS

2.1 Create a self-signed certificate

This step is unnecessary when using trusted, legitimate certificates such as Let's Encrypt.

2.2 Editing the configuration file
2.3 Opening passive ports
2.4 Connect with FileZilla

As mentioned earlier, when you connect to FileZilla, the following screen will appear. Check the box labeled "Always trust this certificate in future sessions" and click "OK." The connection will then be established as described earlier.

Copied title and URL