If anyone is out there trying to use WSL2 to test out Weatherflow via UDP, here’s something to save you some headaches:
- WSL (Windows Subsytem for Linux) version 2 uses NAT for its virtual network. As such, accessing anything other than resources in the host system will require some port proxy’ing.
- Create inbound rule in Windows Defender Firewall to allow traffic through UDP port 50222
- Find a UDP proxy. I used
sudppipefound here http://aluigi.altervista.org/mytoolz.htm. This was the solution proposed in [WSL 2] NIC Bridge mode SOCK_DGRAM · Issue #4825 · microsoft/WSL · GitHub.
(Note: I would rather use an RPi but they’re too expensive these days.)