Created a SOCKS5 proxy on port 9050. which runs inside WSL (Kali). Any app (e.g., BurpSuite on Windows) that connects to 127.0.0.1:9050 will have its traffic routed:
From Windows β WSL proxy β Out via Kali's tun0 (VPN).
# Setup the dynamic port forward$ssh-D0.0.0.0:9050-N-flocalhost
Open Burp Suite in Windows and go to:
User Options β Connections β Upstream Proxy Servers
Add a new SOCKS5 proxy with the following details:
Host: Find it via $ ip addr | grep eth0 on Kali.
Port: 9050
SOCKS v5
You might also need to uncheck Use DNS with SOCKS if there are issues.