Windows 10: WSL2 and firewall

Discus and support WSL2 and firewall in Windows 10 Network and Sharing to solve the problem; In my WSL2:- eth0: 172.29.123.182/20- /etc/resolv.conf: nameserver 172.29.112.1- curl http://some-working-urlIn... Discussion in 'Windows 10 Network and Sharing' started by ThaiDang Vu, Sep 13, 2021.

  1. WSL2 and firewall


    In my WSL2:- eth0: 172.29.123.182/20- /etc/resolv.conf: nameserver 172.29.112.1- curl http://some-working-urlIn Windows\System32\LogFiles\Firewall\pfirewall.logWSL2 and firewall :DROP UDP 172.29.123.182 172.29.112.1 53718 53 98 - - - - - - - RECEIVEThen I created a rule in Windows Defender Firewall with Advanced SecurityWSL2 and firewall :profile: All, Enabled: Yes, Action: Allow, Override: No, Program: Any, Local Address: Any, Remote Address: Any, Protocol: UDP, Port: 53, every other columns have the value of Any.However, I still saw the same DROP UDP message

    :)
     
    ThaiDang Vu, Sep 13, 2021
    #1
  2. Flaviu2 Win User

    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    WSL2 and firewall [​IMG]


    and


    WSL2 and firewall [​IMG]


    What I did wrong ? I have the following W10 version:

    WSL2 and firewall [​IMG]


    Another question: am I in the the right forum ?
     
    Flaviu2, Sep 13, 2021
    #2
  3. Good Antivirus + Firewall

    I would never put anything Norton on my computer.

    Nod32 is arguably the best antivirus. AVG is likely not as good, but it's free and at least pretty good.

    Firewalls, I'd put Comodo and whatever "Tiny Personal Firewall" is named nowadays on your short list. I think Kerio might have sold it now and it's named something else. Otherwise, just put Comodo on your short list. I think the current version's ease of use has taken a step backwards, seems a bit counter-intuitive when trying to do certain things with it, but overall it does a good job and the price is right.
     
    Deusxmachina, Sep 13, 2021
    #3
  4. WSL2 and firewall

    Best free AV and firewall

    Can Windows Firewall block outgoing connections yet? If not, it's one step above useless.

    Look into Online Armor for a free firewall.
     
    Deusxmachina, Sep 13, 2021
    #4
Thema:

WSL2 and firewall

Loading...
  1. WSL2 and firewall - Similar Threads - WSL2 firewall

  2. Can't enable WSL2, also can't disable WSL........

    in Windows 10 Installation and Upgrade
    Can't enable WSL2, also can't disable WSL........: I decided to use WSL2, so I checked "Windows Subsystem For Linux" and the "Virtual Machine Platform" in "Windows Features". After restarting the computer, it was found that the "Virtual Machine Platform" was not properly activated, there is no information, the checkbox remain...
  3. Can't enable WSL2, also can't disable WSL........

    in Windows 10 Gaming
    Can't enable WSL2, also can't disable WSL........: I decided to use WSL2, so I checked "Windows Subsystem For Linux" and the "Virtual Machine Platform" in "Windows Features". After restarting the computer, it was found that the "Virtual Machine Platform" was not properly activated, there is no information, the checkbox remain...
  4. Can't enable WSL2, also can't disable WSL........

    in Windows 10 Software and Apps
    Can't enable WSL2, also can't disable WSL........: I decided to use WSL2, so I checked "Windows Subsystem For Linux" and the "Virtual Machine Platform" in "Windows Features". After restarting the computer, it was found that the "Virtual Machine Platform" was not properly activated, there is no information, the checkbox remain...
  5. WSL2 Cannot connect to the internet

    in Windows 10 Gaming
    WSL2 Cannot connect to the internet: Hi all,I have recently catched up and installed WSL2 on my Windows computer, but now I'm facing an internet connectivity issue that doesn't seem new. I have seen several people on diverse forums mentioning similar problems and I have tried many solutions, but nothing worked....
  6. WSL2 Cannot connect to the internet

    in Windows 10 Software and Apps
    WSL2 Cannot connect to the internet: Hi all,I have recently catched up and installed WSL2 on my Windows computer, but now I'm facing an internet connectivity issue that doesn't seem new. I have seen several people on diverse forums mentioning similar problems and I have tried many solutions, but nothing worked....
  7. I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?

    in Windows 10 Gaming
    I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?: What is the best way to have on an arm64 based Windows 11 Pro a Linux VM or WSL distribution ?I wanted to try Microsoft's own Azure Linux 3.0, so I downloaded the iso file. Hyper-V hangs when booting the VM. It seems the trick is to use only one CPU but then it's incredibly...
  8. I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?

    in Windows 10 Software and Apps
    I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?: What is the best way to have on an arm64 based Windows 11 Pro a Linux VM or WSL distribution ?I wanted to try Microsoft's own Azure Linux 3.0, so I downloaded the iso file. Hyper-V hangs when booting the VM. It seems the trick is to use only one CPU but then it's incredibly...
  9. Cannot install WSL2, consistently getting a Catastrophic Error message.

    in Windows 10 Software and Apps
    Cannot install WSL2, consistently getting a Catastrophic Error message.: Windows ® Installer. V 5.0.26100.1150 msiexec /Option Log all information, except for v and x options/log Update Options /update https://answers.microsoft.com/en-us/windows/forum/all/cannot-install-wsl2-consistently-getting-a/7aff2f61-e8b9-43d2-aec7-3b62fb8477dc
  10. Cannot install WSL2, consistently getting a Catastrophic Error message.

    in Windows 10 Gaming
    Cannot install WSL2, consistently getting a Catastrophic Error message.: Windows ® Installer. V 5.0.26100.1150 msiexec /Option Log all information, except for v and x options/log Update Options /update https://answers.microsoft.com/en-us/windows/forum/all/cannot-install-wsl2-consistently-getting-a/7aff2f61-e8b9-43d2-aec7-3b62fb8477dc