SMB over QUIC – Windows Server Azure Guide

By following this guide, you can successfully configure and test SMB over QUIC on Windows Server 2022 Azure Edition, providing secure and reliable file access over untrusted networks.

Configuring and Testing SMB over QUIC

SMB over QUIC introduces a modern alternative to the traditional TCP transport, providing secure and reliable connectivity to edge file servers over untrusted networks such as the Internet. It functions as an “SMB VPN,” catering to telecommuters, mobile users, and high-security organizations by establishing a TLS 1.3-encrypted tunnel over UDP port 443, replacing legacy TCP port 445.

This guide outlines the process for configuring and testing SMB over QUIC on Windows Server 2022 Azure Edition.

Prerequisites

To deploy SMB over QUIC, ensure the following requirements are met:

  • Both the SMB server and client must:
    • Be joined to an Active Directory domain, or
    • Have a local user account on the SMB server.
  • Server Requirements: An SMB server running Windows Server 2022 Datacenter: Azure Edition.
  • Client Requirements: A Windows 11 client.
  • Additional Tools: 
    • Windows Admin Center (required for Azure Edition configuration).
    • Administrative Privileges for configuring the SMB server.

Deploying SMB Over QUIC

Step 1: Deploy VM Windows Server 2022 Datacenter: Azure Edition

  • Login to the Azure Portal, go to the Azure Service “Virtual Machines.”

 

login to azure creating VM

 

  • Click on “Create” -> “Azure Virtual Machine.”

 

create azure VM

 

  • Configure Azure Virtual Machine:
    1. Select Subscription and Resource group.
    2. Enter Virtual Machine name and select Region.
    3. Select Image Windows Server 2022 Datacenter: Azure Edition.
    4. Virtual Machine resources according to your own needs.
    5. Type in local credentials.

 

configure Azure Virtual Machine

 

6. Proceed with the instructions given by “Create a virtual machine” wizard till completion.

7. After pressing Review + Create it will take a couple of minutes to deploy the VM.

 

Step 2: Configure Windows Admin Center (WAC)

In order to access WAC, users must have the Azure role “Windows Admin Center Administrator Login” role.

  • Open Access control (IAM) and click on Add > Add role assignment.

 

configure WAC - add role

 

  • Select role Windows Admin Center Administrator Login and click Next.
  • Add authorized accounts to the role and click Next.

 

 

  • Save configuration with Review + assign.

 

To install Windows Admin Center (WAC):

  • Open the virtual server and click on Windows Admin Center under Settings.
  • Click install. After a few minutes, WAC is ready.

 

install WAC

 

Step 3: Configure Public Access for the SMB Server

  1. Add a DNS Name Label in Azure
    • In the Azure Portal, go to the Resource Group where the SMB server’s VM resides.
    • Select the Public IP Address NIC.
    • From the side menu, select Configuration and add a DNS Name Label to the IP address.
    • This step enables external clients to connect to the QUIC server using a domain name.

 

connect to QUIC server via domain name

 

2. Open UDP Port 443:

    • In the Azure Portal, return to the Resource Group and select the SMB server’s VM.
    • Navigate to Networking and create an inbound security rule to allow UDP traffic on port 443 (SMB over QUIC protocol).

 

select SMB server Azure VM

 

Step 4: Issue and Bind Server Certificate

To enable SMB over QUIC, install a certificate from a public Certificate from a trusted third party certificate authority such as DigiCert, GeoTrust, GoDaddy.

  1. Create a Certificate Authority-issued certificate with the following properties:
    • Key usage: digital signaturePurpose: Server Authentication (EKU 1.3.6.1.5.5.7.3.1)
    • Signature algorithm: SHA256RSA (or greater)
    • Signature hash: SHA256 (or greater)
    • Public key algorithm: ECDSA_P256 (or greater. Can also use RSA with at least 2048 length)
    • Subject Alternative Name (SAN): (DNS label name configured in previous step and a DNS name entry for each fully qualified DNS name used to reach the SMB server)
    • Subject: (CN= anything, but must exist)
    • Private key included: yes

 

create a certificate 1

create a certificate 2

 

2. Install the certificate on the Azure Server under personal store.

    • Open the virtual server and click on Windows Admin Center.
    • Go to certificates -> Local Machine -> My
    • Press import and select the public certificate created at the previous stage.

 

install certificate on Azure Server

 

3. Enable SMB Over QUIC

    • Go to Windows Admin Center -> Settings -> File Shares
    • Under “File sharing across the internet with SMB over QUIC” press Configure.

 

enable SMB over QUIC

 

    • Select the certificate we created at the first stage under “Select a computer certificate for this file server”, select the server addresses clients can connect to or select “Select all, and select “Enable”.

 

select file server certificate 1

 

select file server certificate 2

 

Step 5: Create Share

  1. Go to Windows Admin Center -> Files & file sharing and select C Drive from the side menu.
  2. Create a New Folder by pressing “New Folder” and give it any name.

 

quic azure 16 create share

 

3. Go to File shares tab and create New share.

 

quic azure 17 create share

 

4. Click on Browse under Folder Location and select the folder created at the previous step.

 

quic azure 18 create share

 

5. The default permissions on a share are Everyone Full control. If you wish to change them simply enter the username or group to which you want to grant access and press search under “Share permissions. Grant the User\Group the needed permissions by selecting it from the drop down list.

 

Step 6: Testing SMB Over QUIC

A network drive to a Windows file share can be mounted using SMB via QUIC with PowerShell, Command Prompt (CMD) or Windows Explorer. The prerequisite is that a file share is present on the Windows server and the client uses the Windows 11 operating system.

Map a Network Drive Using:

  • PowerShell – open PowerShell on Windows 11 client and execute:

New-SmbMapping -LocalPath x: -RemotePath \\<AzureCloudVMDomain>\DemoShare -TransportType QUIC -Persistent $True -Username %username% -Password %password%

  • CMD – open CMD on Windows 11 client and execute:

net use x: \\<AzureCloudVMDomain >\datastore /TRANSPORT:QUIC /PERSISTENT:YES /user:%username% %password%

  • Explorer – open Windows Explorer and select Map network drive.

 

 

  • Enter drive letter, DNS address to the SMB over QUIC Share and select connection properties.

 

 

  • After entering username and password, the network drive is connected to SMB over QUIC.

 

quic azure 21 test soq

 

Conclusion

By following this guide, you can successfully configure and test SMB over QUIC, providing secure and reliable file access over untrusted networks. For production environments, ensure certificates are issued by a trusted Certificate Authority and DNS records are properly configured.

Want to know more? See some SMB Over QUIC Use Cases and Applications.

Any questions? Contact us and let Visuality Systems, the SMB protocol experts, help you.

Daniel Oz

Daniel Oz, IT Manager, Visuality Systems

Share Via
Related Articles
Share Via
Table of Contents

Visuality systems uses technical, analytical, marketing, and other cookies. These files are necessary to ensure smooth operation of Voltabelting.com site and services and help us remember you and your settings. For details, please read our Privacy policy

Skip to content