Configuring Windows Firewall for X410 and WSL2

It’s been over 15 years since I’ve used Windows on any kind of regular basis, but for a number of reasons I got a new Windows machine last week. One of the things I was looking forward to trying out was Windows Subsystem for Linux. I’ve followed its development from a distance for a while, but had never tried it myself. In getting things setup, I purchased X410 just to see how well graphical apps would run. It was quite simple to get working following the instructions for WSL2:

[ screenshot ]

Because of how WSL2 networking works, X410 must listen for X traffic on remote hosts. The docs include the statement:

If you’re concerned about security risks for allowing such public access, you can configure Windows Firewall and allow connections to X410 only from WSL2. Please consult Windows Firewall documentation for additional information.