WSL 2 Networking
216.6 هزار بار بازدید -
4 سال پیش
-
How do you access WSL
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: https://www.seevid.ir/fa/w/yCK3easuYm4
Network Setup: https://www.seevid.ir/fa/w/yCK3easuYm4
Microsoft Documentation: https://www.seevid.ir/fa/w/yCK3easuYm4
Virtual and Physical Networks: https://www.seevid.ir/fa/w/yCK3easuYm4
Testing from Mac: https://www.seevid.ir/fa/w/yCK3easuYm4
Port Proxy Command: https://www.seevid.ir/fa/w/yCK3easuYm4
Testing from Mac Again: https://www.seevid.ir/fa/w/yCK3easuYm4
Firewall Rules: https://www.seevid.ir/fa/w/yCK3easuYm4
GitHub 4150 Script: https://www.seevid.ir/fa/w/yCK3easuYm4
Pings fail: https://www.seevid.ir/fa/w/yCK3easuYm4
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/issues/4150
WSL 2 Playlist:
• WSL 2 (Windows Subsystem for Linux)
Good links:
WSL 2 Proxy Script: https://github.com/microsoft/WSL/issues/4150
Microsoft GUI announcement: https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-build-2020-summary/
Ubuntu WSL2 GUI Install: In Ubuntu WSL:
https://dev.to/darksmile92/linux-on-windows-wsl-with-desktop-environment-via-rdp-522g
WSL 2 install: https://docs.microsoft.com/en-us/windows/wsl/install-win10
Docker for WSL2: https://docs.docker.com/docker-for-windows/wsl/
What is WSL? https://docs.microsoft.com/en-us/windows/wsl/about
WSL documentation: https://docs.microsoft.com/en-us/windows/wsl/
WSL 2 Announcement: https://devblogs.microsoft.com/commandline/announcing-wsl-2/
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
4 سال پیش
در تاریخ 1399/04/25 منتشر شده
است.
216,663
بـار بازدید شده