microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.26k stars 812 forks source link

UDP port forwarding in WSL2 #11194

Open rizzoa opened 6 months ago

rizzoa commented 6 months ago

I don't know if this a duplicated request, however I would like to know how to do the port forwarding for UDP ports, It seems that the netsh interface portproxy command works only for TCP protocol

Thanks for your help.

Below some info

WSL version: 2.0.14.0 Kernel version: 6.1.21.2 WSLg version: 1.0.59 MSRDC version: 1.2.4677 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.19045.4046

github-actions[bot] commented 6 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

xtance commented 4 days ago

I suppose I shouldn't be running cs2 server inside wsl