Skip to content

Instantly share code, notes, and snippets.

View bloodrabbit51's full-sized avatar

shamim ali bloodrabbit51

View GitHub Profile
@bloodrabbit51
bloodrabbit51 / Network_Bridge_Wsl2.md
Created October 3, 2025 18:39
Network_Bridge_Wsl2.md

WSL2 Dual Network Setup (NAT + Bridged)

This guide explains how to configure WSL2 to use two network interfaces, similar to VirtualBox with NAT + Bridged adapters.
With this setup, your WSL2 instance will have:

  • A NAT interface (172.22.x.x) → default WSL2 network, always online
  • A Bridged interface (192.168.x.x) → direct LAN access with its own IP

1. Default NAT Interface

@bloodrabbit51
bloodrabbit51 / Rust4Windows.md
Last active December 31, 2025 09:51
How to install Rust with GNU

Got it 👍 — you want me to take the guide you originally shared (installing Rust without admin rights on Windows) and update it so it reflects the fixes we discovered together:

  • Use config.toml (not config).
  • Ensure cargo works inside MSYS2 MinGW64 and PowerShell.
  • Add gdb for debugging in VS Code.
  • Clarify paths (with double backslashes).

Here’s the updated Markdown file: