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. WSL2 not working: WslRegisterDistribution failed with error: 0x80070424

    in Windows 10 Gaming
    WSL2 not working: WslRegisterDistribution failed with error: 0x80070424: I had wsl2 perfectly working and suddenly didn't work anymore displaying following message:Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070424 Error: 0x80070424 The specified service does not exist as an installed service. Press...
  3. WSL2 not working: WslRegisterDistribution failed with error: 0x80070424

    in Windows 10 Software and Apps
    WSL2 not working: WslRegisterDistribution failed with error: 0x80070424: I had wsl2 perfectly working and suddenly didn't work anymore displaying following message:Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070424 Error: 0x80070424 The specified service does not exist as an installed service. Press...
  4. bonjour à tous ! j'ai un problème , j'ai déjà un compte linux avec WSL2 mais j'ai...

    in Windows 10 Gaming
    bonjour à tous ! j'ai un problème , j'ai déjà un compte linux avec WSL2 mais j'ai...: bonjour à tous ! j'ai un problème , j'ai déjà un compte linux avec WSL2 mais j'ai désinstaller l'application et je veux me reconnecter mais voilà ce qui s'affiche et j'ai aussi oublié mon mot de passe....
  5. bonjour à tous ! j'ai un problème , j'ai déjà un compte linux avec WSL2 mais j'ai...

    in Windows 10 Software and Apps
    bonjour à tous ! j'ai un problème , j'ai déjà un compte linux avec WSL2 mais j'ai...: bonjour à tous ! j'ai un problème , j'ai déjà un compte linux avec WSL2 mais j'ai désinstaller l'application et je veux me reconnecter mais voilà ce qui s'affiche et j'ai aussi oublié mon mot de passe....
  6. Unable to open web browser in WSL2

    in Windows 10 Gaming
    Unable to open web browser in WSL2: Failed to execute default web browser in WSL2.kindly help me to fix the issue. https://answers.microsoft.com/en-us/windows/forum/all/unable-to-open-web-browser-in-wsl2/5808d1ff-57e9-4fc7-b0c3-111d40c86ef5
  7. Unable to open web browser in WSL2

    in Windows 10 Software and Apps
    Unable to open web browser in WSL2: Failed to execute default web browser in WSL2.kindly help me to fix the issue. https://answers.microsoft.com/en-us/windows/forum/all/unable-to-open-web-browser-in-wsl2/5808d1ff-57e9-4fc7-b0c3-111d40c86ef5
  8. Accessing web server under WSL2 on the LAN

    in Windows 10 Software and Apps
    Accessing web server under WSL2 on the LAN: I have a problem connecting to any service/port under wsl2 on my Windows 11 PC.It's running Windows 11 Pro version 23H2 OS build 22631.3085 and I am running WSL2 with Ubuntu 22.04.03 LTS. On the Windows side if I run a simple python web server via "python -m http.server 8080...
  9. Accessing web server under WSL2 on the LAN

    in Windows 10 Gaming
    Accessing web server under WSL2 on the LAN: I have a problem connecting to any service/port under wsl2 on my Windows 11 PC.It's running Windows 11 Pro version 23H2 OS build 22631.3085 and I am running WSL2 with Ubuntu 22.04.03 LTS. On the Windows side if I run a simple python web server via "python -m http.server 8080...
  10. How to install terminal icons in wsl2 ubuntu

    in Windows 10 Software and Apps
    How to install terminal icons in wsl2 ubuntu: I want to see the files and folder icons when I use the ls command. Is there any way to achieve this? https://answers.microsoft.com/en-us/windows/forum/all/how-to-install-terminal-icons-in-wsl2-ubuntu/7c810f10-3237-462b-8845-dcdb98f644e7