This guide explains how to configure WSL2 to use two network interfaces, similar to VirtualBox with NAT + Bridged adapters.
With this setup, your WSL2 instance will have:
- A NAT interface (
172.22.x.x) → default WSL2 network, always online - A Bridged interface (
192.168.x.x) → direct LAN access with its own IP