-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure with multiple WSL distro? #26
Comments
Only one can run at a time, I think. At least you will have to configure different IP, named pipes etc.. What I do is to just run the vpnkit stuff from a single distro, and then other distros connects through the same by simply configuring them to go through the running vpnkit "nameserver": /etc/wsl.conf:
/etc/resolv.conf:
(may also add a second line with "nameserver 1.1.1.1" if you want this as fall-back). A |
It will work with multiple WSL 2 distros. With WSL 2, all the distros run within the same VM and share the network namespace. When you run If you're using the |
Thank you for your explanations! |
I have to work with multiple WSL distro running at same time.
Is it possible to use your script with more than one distro running at same time?
The text was updated successfully, but these errors were encountered: