Skip to content
TrackPodcasts
technologyJul 26, 202015:05pending

#163: David Bombal: WSL 2 Networking

David Bombal

About this episode

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


https://github.com/microsoft/WSL/issu...


WSL 2 Playlist:

https://www.youtube.com/playlist?list...


Good links:

WSL 2 Proxy Script: https://github.com/microsoft/WSL/issu...

Microsoft GUI announcement: https://devblogs.microsoft.com/comman...

Ubuntu WSL2 GUI Install: In Ubuntu WSL:

https://dev.to/darksmile92/linux-on-w...

WSL 2 install: https://docs.microsoft.com/en-us/wind...

Docker for WSL2: https://docs.docker.com/docker-for-wi...

What is WSL? https://docs.microsoft.com/en-us/wind...

WSL documentation: https://docs.microsoft.com/en-us/wind...

WSL 2 Announcement: https://devblogs.microsoft.com/comman...


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

Get every episode summarized

Each time David Bombal publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.

Email me new episodes

Free for 3 shows. No card needed.

Hosts & guests

No transcript yet

This episode has not been transcribed. Request it and it moves to the front of the queue.

#163: David Bombal: WSL 2 Networking

David Bombal

0:00
15:05

More episodes

More from David Bombal

View all episodes →