---
title: "Cài đặt và cấu hình FileZilla FTP Server TLS trên Windows Server 2022 VPS"
description: "Hướng dẫn chi tiết cài đặt FileZilla Server trên Windows Server 2022 VPS, cấu hình chứng chỉ TLS (FTPS), dải Passive Port và mở Windows Firewall an toàn."
canonical: "https://thuecloud.vn/cai-dat-va-cau-hinh-filezilla-ftp-server-tls-tren-windows-server-2022-vps"
markdown_url: "https://thuecloud.vn/cai-dat-va-cau-hinh-filezilla-ftp-server-tls-tren-windows-server-2022-vps.md"
locale: "vi"
kind: "article"
published_at: "2026-11-22T16:18:12.554Z"
updated_at: "2026-11-22T16:18:10.011Z"
site: "ThueCloud.Vn"
estimated_tokens: 1907
---
# Cài đặt và cấu hình FileZilla FTP Server TLS trên Windows Server 2022 VPS

> Hướng dẫn chi tiết cài đặt FileZilla Server trên Windows Server 2022 VPS, cấu hình chứng chỉ TLS (FTPS), dải Passive Port và mở Windows Firewall an toàn.

- Canonical HTML: https://thuecloud.vn/cai-dat-va-cau-hinh-filezilla-ftp-server-tls-tren-windows-server-2022-vps
- Markdown URL: https://thuecloud.vn/cai-dat-va-cau-hinh-filezilla-ftp-server-tls-tren-windows-server-2022-vps.md
- Organization: ThueCloud.Vn
- Support Email: support@thuecloud.vn
- Hotline: 03333 499 48
- Published: 2026-11-22
- Updated: 2026-11-22

## Mục lục

- Cài đặt FileZilla Server và cấu hình TLS
- Bảng thông số Passive Mode và Tường lửa cần mở
- Mở Windows Firewall bằng PowerShell
  - Chọn Windows VPS NVMe truyền tải dữ liệu nhanh tại ThueCloud.Vn
- Câu hỏi thường gặp (FAQ)
  - Tại sao kết nối FTP đăng nhập thành công nhưng bị treo ở lệnh MLSD hoặc LIST?
  - Nên chọn Explicit FTPS (cổng 21) hay Implicit FTPS (cổng 990)?
  - FileZilla Server có giới hạn số lượng user và băng thông được không?

Giao thức FTP truyền thống gửi tài khoản, mật khẩu và dữ liệu dưới dạng văn bản thuần (plaintext), cực kỳ nguy hiểm khi truyền tải mã nguồn hoặc dữ liệu kinh doanh qua Internet. Trên máy chủ [Windows Server 2022 VPS](https://thuecloud.vn/vps-viet-nam), triển khai **FileZilla Server** kết hợp mã hóa **TLS (FTPS)** và giới hạn dải **Passive Port** chuẩn xác giúp bạn truyền file tốc độ cao mà vẫn bảo mật tuyệt đối.

> **Tóm tắt nhanh (TL;DR):**
> - Bắt buộc chọn **Require explicit FTP over TLS** (FTPES trên cổng `21`) hoặc **Implicit TLS** (cổng `990`) để không cho phép đăng nhập không mã hóa.
> - Khai báo rõ dải **Passive mode ports** (ví dụ `50000-50100`) và **External IP** trong FileZilla Server.
> - Mở đúng cổng `21` và dải `50000-50100` trên Windows Defender Firewall để client không bị kẹt ở bước `LIST` thư mục.
> - *Cập nhật: 11/2026*

## Cài đặt FileZilla Server và cấu hình TLS

Tải bản cài đặt **FileZilla Server** mới nhất (nhánh 1.x) từ trang chủ chính thức và cài đặt dưới dạng Windows Service để tự chạy khi VPS khởi động lại. Trong quá trình cài đặt, đặt mật khẩu mạnh cho cổng quản trị (`14148`, chỉ lắng nghe trên `127.0.0.1`).

Sau khi mở FileZilla Server Administration Interface:
1. Vào **Server -> Configure -> Rights management -> Users**, tạo user mới (ví dụ `deploy_user`), đặt mật khẩu mạnh và gắn **Virtual path** `/` trỏ về thư mục thật trên ổ đĩa (ví dụ `D:\Websites\app`).
2. Vào **Protocol settings -> FTP and FTP over TLS (FTPS)**:
   - Chọn **Use explicit FTP over TLS** hoặc **Require explicit FTP over TLS**.
   - Có thể dùng chứng chỉ tự ký (Self-signed) do FileZilla tạo sẵn hoặc trỏ tới chứng chỉ Let's Encrypt hợp lệ.

## Bảng thông số Passive Mode và Tường lửa cần mở

| Thành phần | Cổng / Giá trị | Mục đích |
| :--- | :--- | :--- |
| Control Port | TCP `21` | Nhận lệnh đăng nhập, chuyển thư mục |
| Passive Port Range | TCP `50000 - 50100` | Kênh truyền dữ liệu file và danh sách thư mục (`LIST`) |
| External IP (trong Passive settings) | IP Public tĩnh của VPS | Tránh lỗi client nhận nhầm IP nội bộ (`10.x` hoặc `192.168.x`) |
| Admin Port | TCP `14148` (`127.0.0.1` only) | Chỉ cho phép cấu hình từ bên trong VPS qua RDP |

## Mở Windows Firewall bằng PowerShell

Chạy PowerShell với quyền Administrator để mở đúng cổng điều khiển và dải Passive Port:
```powershell
New-NetFirewallRule -DisplayName "FileZilla FTP Control (21)" -Direction Inbound -Protocol TCP -LocalPort 21 -Action Allow
New-NetFirewallRule -DisplayName "FileZilla FTP Passive (50000-50100)" -Direction Inbound -Protocol TCP -LocalPort 50000-50100 -Action Allow
```

Khi đã thiết lập xong kênh truyền file an toàn, bạn có thể tham khảo thêm cách [tách biệt trình duyệt và dải IP sạch cho TikTok Shop](https://thuecloud.vn/toi-uu-quy-trinh-tiktok-shop-tach-biet-trinh-duyet-va-dai-ip-sach-tren-vps-nvme), [thêm addon domain và SSL Wildcard trên cPanel](https://thuecloud.vn/cpanel-tren-vps-cach-them-addon-domain-subdomain-va-ssl-wildcard) hoặc [xử lý lỗi Timeout trên LiteLLM Proxy Gateway](https://thuecloud.vn/litellm-proxy-gateway-huong-dan-xu-ly-loi-timeout-oom-va-su-co-ket-noi-thuc-te).

### Chọn Windows VPS NVMe truyền tải dữ liệu nhanh tại ThueCloud.Vn

Tốc độ đọc/ghi ổ đĩa quyết định trực tiếp tốc độ upload/download FTPS. **ThueCloud.Vn** cung cấp Windows VPS trên nền tảng KVM Enterprise NVMe tại `vn-hn` (VAT **0%**, SLA **99,9%**, hoàn tiền **07 ngày**):
- **VPS VN 2** (`78.000đ` – `90.000đ`/tháng) & **VPS VN 3** (`139.000đ` – `170.000đ`/tháng) đáp ứng mượt mà Windows Server 2022 và FileZilla Server TLS.
Xem chi tiết tại [bảng giá ThueCloud.Vn](https://thuecloud.vn/pricing) và [giải đáp FAQ](https://thuecloud.vn/faq).

## Câu hỏi thường gặp (FAQ)

### Tại sao kết nối FTP đăng nhập thành công nhưng bị treo ở lệnh `MLSD` hoặc `LIST`?
Đây là lỗi kinh điển do thiếu mở dải **Passive Port** trên Windows Firewall hoặc chưa điền IP Public của VPS vào mục *Use the following IP* trong cài đặt Passive mode của FileZilla Server.

### Nên chọn Explicit FTPS (cổng 21) hay Implicit FTPS (cổng 990)?
Nên chọn **Explicit FTPS (cổng 21)** vì đây là chuẩn hiện đại hơn (RFC 4217), tương thích với hầu hết mọi FTP client và tường lửa doanh nghiệp hiện nay.

### FileZilla Server có giới hạn số lượng user và băng thông được không?
Có. Ngay trong mục cấu hình từng User hoặc Group của FileZilla Server, bạn có thể đặt giới hạn tốc độ tải lên/tải xuống (Speed limits) để tránh việc truyền file lớn làm nghẽn băng thông của website đang chạy cùng VPS.

## References / Sources

- https://filezilla-project.org/support.php?type=server
- https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/

---

## Navigation & Machine-Readable Endpoints

- [Site Summary (llms.txt)](https://thuecloud.vn/llms.txt)
- [Full Technical Reference (llms-full.txt)](https://thuecloud.vn/llms-full.txt)
- [Pricing Catalog (Markdown)](https://thuecloud.vn/pricing.md)
- [Blog & Technical Guides (Markdown)](https://thuecloud.vn/blog.md)
- [XML Sitemap](https://thuecloud.vn/sitemap.xml)
