Skip to content
项目

关于

Fix-up scripts for WSL2, mainly networking related

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

WSL2-fixes

Fix-up guides and scripts for WSL2, mainly networking related:

  • networkingMode=bridged.md is detailed tutorial initially written as comment to WSL bug thread, and I'm placing it here for future reference. Contains full guide with detailed instructions to setting up bridged networking in WSL2, together with systemd setup, systemd networking configuration, and bunch of reference links about all the included tools, commands, workflows, etc.

  • networkingMode=bridged - quick setup.md is shorter version of the above, for those that have already some experience with Hyper-V, Virtual Switch, and setting up WSL2 with bridged networking and systemd, yet need a (way shorter) quick reference for commands and configs in question.

  • networkingMode=bridged-ultra-quick.md is ultimate compressed guide, just a list of commands and related configs, in cases when you're simply reinstalling WSL or similar and want ultra-quick checklist to follow.

  • Removing_network_bridge_and_systemd_settings.md is a short list of commands to revert to original settings, in cases when you want to go back to original NAT networking for some reason.

  • wsl2-net.ps1 was a workaround, for people with Win10 Pro, which uses Hyper-V Virtual Switch functionality, some Powershell, and some bash with WSL commands, to install WSL2 (Ubuntu 20.04), and setup a proof-of-concept WSL2 instance that has NORMAL IP address exposed to local network, as would a standalone VM have. This would allow you to access WSL2 services from devices in your local network, or from public Internet (both require proper firewall and routing rules to be setup on your local network router/firewall device(s))

    • (obsolete)
  • scratchbook.md is just to remember stuff I need sometimes on WSL

探索相关项目

加载中…