Advanced Windows Subsystem for Linux (WSL 2) | .wslconfig and wsl.conf

Опубликовано: 09 Февраль 2026
на канале: Darien's Tips
5,871
90

In this video, we’ll master the configuration files of the Windows Subsystem for Linux (WSL 2) to unlock its additional potential on Windows 11 24H2, 23H2, and 22H2.

🔹 What is a .wslconfig File: Understand the global configuration file for WSL 2 and how it affects all your Linux distributions and how to optimize resource allocation and tweak networking settings to suit your usage needs.
🔹 About networkingMode: Explore the available networking modes and how they impact connectivity and performance.
🔹 What is a wsl.conf File: Get to know the per-distribution configuration file and how it allows for granular control over individual Linux environments and its impact on how WSL integrates with its Windows host.


Applies to: 🪟
Windows 10, Windows 11


Chapters
0:00 Introduction
0:38 What is a .wslconfig File
1:43 Use .wslconfig to Modify WSL 2 Memory, Processor Count, and Networking Mode
2:52 About networkingMode
3:32 What is a wsl.conf File
4:24 WSL Interoperability with the Windows Host
5:47 Notes and a Caution
6:50 Thank you for watching!


Glossary:
BASH = Bourne Again Shell
IP = Internet Protocol
MAC = Media Access Control
NAT = Network Address Translation
RAM = Random Access Memory
SUDO = Super User Do
TCP = Transmission Control Protocol
VI = Visual Editor
WSL = Windows Subsystem for Linux


Links: 🔗
https://learn.microsoft.com/en-us/win...
https://learn.microsoft.com/en-us/win...