$ netsh interface portproxy add v4tov4 listenport=22 listenaddress=0.0.0.0 connectport=22 connectaddress=<WSL_IP_ADDRESS>
Change the <WSL_IP_ADDRESS> into your WSL IP Address, for check the IP run this command ip addr show eth0
on WSL Terminal
- add rule inbound & outbound
- choose the port setting & fill with 22 g
- then grant all access
- then save
and that how your IP windows access with WSL not your windows machine