Setup FTP access to rocky linux 9.5 server using vsftpd

Setup FTP access to rocky linux 9.5 server using vsftpd

Install vsftpd

  1. sudo dnf install vsftpd -y

Enable and Start the vsftpd Service

  1. sudo systemctl enable vsftpd --now

Verify the status:


  1. sudo systemctl status vsftpd

Adjust Firewall Rules

By default, the Rocky Linux firewall blocks FTP traffic. Allow it:

  1. sudo firewall-cmd --permanent --add-service=ftp sudo firewall-cmd --reload

4️⃣ Configure vsftpd

Edit the configuration file:

  1. sudo nano /etc/vsftpd/vsftpd.conf

Here are the most important settings:

  • Allow local users to log in:

local_enable=YES
  • Allow file upload (write access):


write_enable=YES
  • Enable chroot to restrict users to their home directories:


chroot_local_user=YES
  • Allow passive mode (important for FTP clients behind NAT/firewalls):

pasv_enable=YES pasv_min_port=40000 pasv_max_port=50000

Restart vsftpd to Apply Changes


  1. sudo systemctl restart vsftpd

Access via FTP Client like FileZilla



    • Related Articles

    • Install Rocky Linux 9.2

      What is Rocky Linux? Rocky Linux is a Linux distribution developed by Rocky Enterprise Software Foundation, which is a privately owned benefit corporation that describes itself as a "self-imposed not-for-profit". It is intended to be a downstream, ...
    • Setup noVNC on Ubuntu 20.04/Gnome 3.36

      VNC (Virtual Network Computing) enables you to control your Linux installation from another computer on the same network, by viewing and interacting with the desktop from the other computer. To learn more about VNC, click here noVNC allows you to ...
    • Backup, Snapshot, and Restore Linux installations using Timeshift

      If you mess up (or are going to mess up) some config files or drivers, it is always good to have a fallback point. The de-facto standard for doing this on Linux is Timeshift. Timeshift for Linux is an application that provides functionality similar ...
    • Configuring BMC in ASUS Server

      To configure the Baseboard Management Controller (BMC) IP address on an ASUS server, initially access the server's BIOS/UEFI settings and then configure the BMC network settings. Here's a step-by-step instructions Server BMC Configuration preparation ...
    • Linux Software RAID Failure Alert - Troubleshooting Guide

      Purpose This document provides a standardized approach for handling and troubleshooting the Linux Software RAID Failure alert, enabling L1 and L2 engineers to respond quickly, minimize risk, and maintain system stability. Alert Name Linux Software ...
    • Popular Articles

    • CP Plus Camera and NVR Configuration

      NVR Configuration The CP Plus Pro Series of NVRs have been meticulously designed for providing you with upgraded performance and higher recording quality in your IP video surveillance solution. The robust processor that has been inculcated in this ...
    • Kerberos Authentication – Overview

      What is Kerberos? Kerberos is a secure authentication method used in our Active Directory (AD) environment (mbuzztech.com). It allows users to: Access multiple systems without re-entering passwords (Single Sign-On – SSO) Log in once Where We Use It ...
    • How to Remove and Reinstall NVIDIA Drivers on Ubuntu

      This article provides step by step guide to completely remove existing NVIDIA drivers and reinstall specific version of the NVIDIA driver on the Ubuntu system Prerequisites Administrative (sudo) access to the Ubuntu system. Internet access to ...
    • Personal Computers and Servers - Classification and Point of Contact

      We can classify the computers that MBUZZ handles based on their form-factor as below: Tower Workstations, Desktops, Gaming PCs and SFF (Small form factor) PCs fall under this category. These are computers people would use on a desk and rarely move. ...
    • M.2 SSD Tier List

      The sequential read and write speeds, which are usually the most advertised number, are not a proper benchmark of real-world performance or the quality of an SSD. This article categorizes and tiers SSDs based on factors like the type of NAND flash, ...