Skip to content

Instantly share code, notes, and snippets.

@benduran
Created March 15, 2022 20:47
Show Gist options
  • Save benduran/dd8943e36615bf9d80c450fc60f2ed8c to your computer and use it in GitHub Desktop.
Save benduran/dd8943e36615bf9d80c450fc60f2ed8c to your computer and use it in GitHub Desktop.
Sample WSL2 Config with Black Hole Discovery Enabled
[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