How do you access WSL 2 Virtual Machines remotely? I'll show you how WSL2 networking works and I'll also show you how to configure the proxy service on your Windows 10 computer to allow connections to your WSL virtual machines. I'll also explain the configuration of the Windows Firewall.
WSL 2 changes the way networking is configured compared to WSL 1. You need to enable proxy of traffic and you need to permit the traffic through the Windows firewall.
Menu:
Overview: 0:00
Network Setup: 0:48
Microsoft Documentation: 1:11
Virtual and Physical Networks: 2:12
Testing from Mac: 6:35
Port Proxy Command: 7:07
Testing from Mac Again: 8:24
Firewall Rules: 9:40
GitHub 4150 Script: 11:09
Pings fail: 13:05
WSL commands:
netsh interface portproxy add v4tov4 listenport=3390 listenaddress=0.0.0.0 connectport=3390 connectaddress=192.168.170.227
Firewall rules:
- Go to control panel and open advanced firewall rules
- allow port 3390 through firewall
[ Ссылка ]
WSL 2 Playlist:
[ Ссылка ]
Good links:
WSL 2 Proxy Script: [ Ссылка ]
Microsoft GUI announcement: [ Ссылка ]
Ubuntu WSL2 GUI Install: In Ubuntu WSL:
[ Ссылка ]
WSL 2 install: [ Ссылка ]
Docker for WSL2: [ Ссылка ]
What is WSL? [ Ссылка ]
WSL documentation: [ Ссылка ]
WSL 2 Announcement: [ Ссылка ]
WSL2
WSL 2
WSL 2 Networking
WSL 2 Proxy
WSL proxy
Docker
Ubuntu 20.04
Ubuntu GUI
WSL 2 Ubuntu GUI
WSL Ubuntu GUI
WSL 2
WSL 1
Ubuntu 18.04
windows subsystem for linux
wsl2 ubuntu gui
#wsl2 #ubuntu #windows
WSL 2 Networking
Теги
wsl 2wsl2wsl2 networkwsl2 network configurationwsl2 guiwsl2 dockerwsl2 ubuntu guiwsl2 windows 10wsl 2020wsl2 ubuntuwsl 2 reviewwsllinuxubuntuwindows subsystem for linuxwindows 10open sourcedockerwsl ubuntu guiwsl 2 ubuntu guisetup wsl 2set up wsl 2windows 10 wsl 2wsl1linux on windowswsl 2 fastwsl2linux subsystemubuntu on windowslinux kernelwsl dockermicrosofthow to install wsl2subsystem for linux