Applicable Products
- NAS running QTS or QuTS hero
Overview
SMB encryption enhances file sharing security by encrypting data transmitted between your QNAP NAS and SMB clients. This protects sensitive information from unauthorized access during network transmission. SMB encryption is available for SMB 3.0 and later, and requires both the NAS and the client to support SMB 3.0 or above.
Procedure
- Open Control Panel in QTS or QuTS hero.
- Navigate to Network & File Services > Win/Mac/NFS > Microsoft Networking.
- Select Advanced Options.
- Set Highest SMB Version to SMB 3.0.
- Click Apply to save changes.
Note: Only clients with SMB 3.0 or later can connect using encrypted sessions. If the client does not support SMB 3.0, it may connect without encryption or may not be able to connect, based on your configuration.
Procedure for QTS 4.3.3 or earlier
In QTS 4.3.3 and earlier, the graphical user interface may lack SMB encryption settings. You can enable SMB 3.0 (with encryption support) via SSH.
- Reminder: If you are not comfortable using SSH or command-line operations, please consult your system administrator.
- Tip: Back up your system settings before making changes.
- Log in to your NAS via SSH with an administrator account.
- Run:
/etc/init.d/smb2_protocol.sh enable 3
- Wait for the SMB services to restart. You should see output confirming SMB 3.0 is enabled.
- SMB encryption can now be negotiated with compatible clients.
Limitations
- SMB encryption only works with SMB 3.0 or higher. Clients with SMB 1.0 or 2.0 will not be able to use encryption.
- Enabling encryption may reduce file transfer performance due to additional CPU usage.
适用产品
- NAS running QTS or QuTS hero
概述
SMB 加密通过加密在 QNAP NAS 和 SMB 客户端之间传输的数据来增强文件共享的安全性。这可以在网络传输过程中保护敏感信息免受未经授权的访问。SMB 加密适用于 SMB 3.0 及更高版本,并要求 NAS 和客户端都支持 SMB 3.0 或更高版本。
步骤
- 打开 控制台 在 QTS 或 QuTS hero 中。
- 导航到 网络和文件服务 > Win/Mac/NFS > Microsoft 网络。
- 选择 优异选项。
- 设置 较高 SMB 版本 为 SMB 3.0。
- 点击 应用 以保存更改。
注意: 只有支持 SMB 3.0 或更高版本的客户端才能使用加密会话连接。如果客户端不支持 SMB 3.0,根据您的配置,它可能会在没有加密的情况下连接,或者可能无法连接。
QTS 4.3.3 或更早版本的步骤
在 QTS 4.3.3 及更早版本中,图形用户界面可能缺少 SMB 加密设置。您可以通过 SSH 启用 SMB 3.0(支持加密)。
- 提醒: 如果您不熟悉使用 SSH 或命令行操作,请咨询您的系统管理员。
- 提示: 在进行更改之前备份您的系统设置。
- 使用管理员账户通过 SSH 登录到您的 NAS。
- 运行:
/etc/init.d/smb2_protocol.sh enable 3
- 等待 SMB 服务重启。您应该会看到确认启用 SMB 3.0 的输出。
- 现在可以与兼容的客户端协商 SMB 加密。
限制
- SMB 加密仅适用于 SMB 3.0 或更高版本。使用 SMB 1.0 或 2.0 的客户端将无法使用加密。
- 启用加密可能会由于额外的 CPU 使用而降低文件传输性能。