Created
March 15, 2022 20:47
-
-
Save benduran/dd8943e36615bf9d80c450fc60f2ed8c to your computer and use it in GitHub Desktop.
Sample WSL2 Config with Black Hole Discovery Enabled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wsl2] | |
memory=8GB | |
swap=0 | |
localhostForwarding=true | |
processors=8 | |
# This enables black hole discovery on WSL boot | |
kernelCommandLine=net.ipv4.tcp_mtu_probing=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment