Recently, I added UFW to my Kali Linux WSL distro to block certain IPs.
I followed this answer:https://stackoverflow.com/a/75804324
basically, I added to the /etc/wsl.conf
:
[boot]systemd=true
However, now all the other WSL distros in my computer are also being affected, including my Ubuntu and docker containers.
Deactivating it solves the problem, but I want a better solution to keep UFW activated in my kali distro while being able to use my Ubuntu distro normally.
Anyone that has a good understanding of WSL can help me how to “isolate” the UFW settings to each distro?