WSL 2 Networking

แชร์
ฝัง

ความคิดเห็น • 299

  • @davidbombal
    @davidbombal  4 ปีที่แล้ว +31

    Menu:
    Overview: 0:00
    Network Setup: 0:48
    Microsoft Documentation: 1:11
    Virtual and Physical Networks: 2:12
    Testing from Mac: 6:35
    Port Proxy Command: 7:07
    Testing from Mac Again: 8:24
    Firewall Rules: 9:40
    GitHub 4150 Script: 11:09
    Pings fail: 13:05
    WSL commands:
    netsh interface portproxy add v4tov4 listenport=3390 listenaddress=0.0.0.0 connectport=3390 connectaddress=192.168.170.227
    Firewall rules:
    - Go to control panel and open advanced firewall rules
    - allow port 3390 through firewall
    github.com/microsoft/WSL/issues/4150
    Good links:
    WSL 2 Proxy Script: github.com/microsoft/WSL/issues/4150
    Microsoft GUI announcement: devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-build-2020-summary/
    Ubuntu WSL2 GUI Install: In Ubuntu WSL:
    dev.to/darksmile92/linux-on-windows-wsl-with-desktop-environment-via-rdp-522g
    WSL 2 install: docs.microsoft.com/en-us/windows/wsl/install-win10
    Docker for WSL2: docs.docker.com/docker-for-windows/wsl/
    What is WSL? docs.microsoft.com/en-us/windows/wsl/about
    WSL documentation: docs.microsoft.com/en-us/windows/wsl/
    WSL 2 Announcement: devblogs.microsoft.com/commandline/announcing-wsl-2/

    • @gijduvon6379
      @gijduvon6379 4 ปีที่แล้ว

      Hi David! What if I need several port available in my wsl-based OS? In my case I need 26257 and 8080 ports. How can access via these if only 3390 will route to my wsl-based OS?

  • @networktastic
    @networktastic 4 ปีที่แล้ว +17

    Thanks David, much appreciated. The proxy command was the thing I was unaware of. These WSL2 videos are introducing a bunch of missing pieces that are making what I know already much more useful.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +2

      You're very welcome Kevin! Glad the videos are helping :)

  • @victorbacega9699
    @victorbacega9699 4 ปีที่แล้ว +3

    David, thank you very much! I had a problem developing an application using the Expo platform on WSL 2, and the mobile phone couldn't connect to WSL or Node JS Server, with your video I was able to understand how the network works on WSL2 and used the netsh command to free the application ports. Thank you so much!

  • @rudiklein
    @rudiklein ปีที่แล้ว +2

    Your explanations are very clear. This 2 year old video is still relevant. I'm running Ubuntu on WSL 2 on W11 and your video's saved me a lot of time. Thanks!

  • @Michaelmaertzdorf
    @Michaelmaertzdorf 4 ปีที่แล้ว +4

    Option 2: Bridge mode
    Solution: Switch from NAT to Bridge mode
    WSL2 comes by default in NAT mode. There the wsl2 system has another ip in another subnet than the host. The PC is from external peers only visible by the windows IP and the wsl2 ip/net is hidden/internal. So all traffic would need to be accepted by the windows IP and then forwarded to the wsl2 ip (port forwarding).
    There is another mode called bridge mode. In bridge mode your network interface card will be shared to the wsl2 system, and it will get its own IP/Net in wsl2. So in effect your network card is shared to both systems (windows / wsl2) and will have two IPs, as if you'd have two systems with its own network card each. Cool thing: You will never have port conflicts when Windows uses the same port as well, as your wsl2 app (like 111).
    Enable bridge mode
    Open Hyper-V Manager as administrator
    Select your pc, open Virtual Switch Manager
    Select WSL
    Set to external network
    Select the network card the traffic runs through
    Then login to wsl2 terminal and configure an IP address. E.g.
    sudo ip addr add 192.168.0.116/24 dev eth0
    You need to use another free IP (not your Windows IP). If your network has a DHCP server your wsl can get one by:
    sudo ip addr flush dev eth0
    sudo dhclient eth0
    make sure to start / enable the xrdp service in your linux desktop else you will not be able to start an RDP session.

    • @null_phase
      @null_phase 3 ปีที่แล้ว

      How does this work in regards to the wsl reroling a new IP on host machine reboot

    • @null_phase
      @null_phase 3 ปีที่แล้ว

      everytime you start wsl2 it will remake the wsl virtual switch and have it set to incorrect.. i tried script in vid and still not reachable

  • @keivan_adak
    @keivan_adak 4 ปีที่แล้ว +13

    Theachers like you are not easy to find in the 🌎
    Thanks 👏👏👏👏👏

  • @bharcooldude
    @bharcooldude 8 หลายเดือนก่อน +1

    Just used this video to access Immich over local network which I had installed in my WSL 2 Ubuntu. Thanks!

  • @angelffg
    @angelffg 9 หลายเดือนก่อน

    Excuse my bad English.
    Hello David, I first congratulate you on your channel and for the content. Your way of explaining is great!
    Please, if possible, could you answer a doubt and request that I have:
    If I wanted the WSL2 (Ubuntu, Debian, etc ...) equipment to be visible in the rest of the LAN to access them through \\ IP_WSL2 and use Samba protocol to share files that are in WSL2 equipment.
    How can I create a bridge between the network and the WSL2 equipment?
    Thanks for everything you can support!

  • @sumitsrivastava1021
    @sumitsrivastava1021 2 ปีที่แล้ว

    Where were you till now :) I loved your videos. So much best explained content.. May god Bless you and you be a biggest youtuber.

  • @davidwarshawsky1559
    @davidwarshawsky1559 ปีที่แล้ว

    I watched the whole video just to figure out I needed to turn off my firewall. Thank you

  • @uday_kiran
    @uday_kiran 3 ปีที่แล้ว

    I searched around for the complete guide for the process of Getting GUI. Thanks David. I started to learn from you...

  • @georgealan7772
    @georgealan7772 4 ปีที่แล้ว +2

    Thank you very much!!! this was what was missing for me I managed to configure my development environment in react-native in wsl2. I was days trying to connect the Axios backend to port 10.0.2.2:3333 with the Android Studio avd emulator 2 days ago and I hadn't been able to. I tried many things without success and now this video was what was missing, and that made it successful. Thank you very much.

  •  ปีที่แล้ว

    Very nice tutorial, David!. I used it to configure ssh access from a chromebook to Ubuntu in a WSL and I managed to get it working. Thanks!!! I have to run the netsh command everytime but it's ok for me. One question: Is it safe to have the port 22 open in Windows Firewall Defender (with Public domain unchecked?) Thanks again for your help. Cheers!

  • @SachinKumar-qk9yu
    @SachinKumar-qk9yu 3 ปีที่แล้ว +6

    Hi David thanks for the valuable information. I have a question when I connect cisco VPN in local laptop there is network connectivity issues inside WSL2 please help on this

  • @TAVG333
    @TAVG333 ปีที่แล้ว

    Thank you for this! I have been trying to get WSL2 to work with VS Code Live Server for so long and this solution worked! It was the windows firewall portion I had been missing to allow the port :)

  • @nikhilranka9660
    @nikhilranka9660 2 ปีที่แล้ว +1

    Thanks for the detailed tutorial.
    Any tutorials on getting WSL2 to connect to the internet with VPN turned on on Windows?

  • @askanioff
    @askanioff ปีที่แล้ว

    Genius!! Thank you very much. So many hours wasted until I reach your video.

  • @BenjaminBiswas
    @BenjaminBiswas 2 ปีที่แล้ว +1

    Great video tutorial about WSL networking, I learned lot's of from your tutorials. Thanks.

  • @jbenini
    @jbenini 8 หลายเดือนก่อน

    Your explanation was amazing. I appreciate your content. Thank you, mate!

  • @Xewl
    @Xewl 4 ปีที่แล้ว

    Came here after researching and hitting the GH issues etc.
    Good explanation. I only wish it wouldn't be such a pita -.-
    I already have Shayne's hacks in place, had it for WSL1 too.
    I needed WSL2 for docker & they take away bridge mode; that's ludicrous.
    On the verge of just switching to Linux all by itself. xD

  • @bunkermagnus
    @bunkermagnus 4 ปีที่แล้ว +4

    Thank you for these clear and informative videos on WSL2. This is the first time that I seriously look into the WSL subsystem and I am a bit puzzled and somewhat disillusioned so far. I have been using virtual machines with VMware and VirtualBox for over 10 years and I am still wondering what the real benefits of using WSL2 are compared to for instance VMWare Workstation or VirtualBox. To me both Hyper-V and WSL2 seems so unfinished and "raw", and to be honest, quite a mess in comparison to the alternatives. Having the option of setting up Bridged, NAT, HostNIC sharing etc is a must in my world. Having to deal with changing IPs, firewall rules for every virtual environment seems too much. What ARE the real benefits of using WSL2 really?

    • @rottenfist220
      @rottenfist220 2 ปีที่แล้ว

      Only benefit i saw is it consumes less RAM but like you said it is impossible for me to do things without network bridging. And from what i saw it doesn't have snapshots which is a must for a test & dev. environment.

  • @011sale
    @011sale ปีที่แล้ว

    Excellent video, the way you explained the matter in such a simple way plus providing so much valuable info helped me out a lot! Amazing how even after 2 years this is still usable.

  • @alejandrorodriguez3771
    @alejandrorodriguez3771 3 ปีที่แล้ว +3

    David, it would be very good if you made a video about the interaction between 2 WSL VM in order to test, for example, kali tools vs ubuntu. In order to do that, the 2 VMs need to have 2 different IP addr in the same subnet (connected to the same vshiwtch) or with different IP subnet routable through the windows host (I dont know if it is posible). When you boot 2 WSL VMs, they have the same IP addr, it is like if they were connected to different vshwitch with the same ip subnet but with the same default Gateway. It is also extrange to me that the MAC address in the ARP table of the windows host, is the same for both VMs. Thanks and sorry for my english.

  • @mevitu
    @mevitu 4 ปีที่แล้ว

    David, I am from Indonesia..I am new follower u..nice to meet this ..coz your explanation is always clear

  • @pasanmadhuranga9545
    @pasanmadhuranga9545 6 หลายเดือนก่อน

    Thanks David, for the clear explanation, you're an rockstart😍⭐⭐

  • @DominicFlynn
    @DominicFlynn 3 ปีที่แล้ว +1

    I like how you show everyone the documentation you use. Great way to teach.

  • @FajarSuryawan
    @FajarSuryawan 3 ปีที่แล้ว +1

    Thanks, David. A wonderful series on WSL2! I have a question. Is it possible to have more than 1 Linux on a Windows 10, and have all the three connected? Possibly on the same subnet? Suppose I have Ubuntu and Kali on the same Windows 10.

  • @vtgus
    @vtgus 3 ปีที่แล้ว

    Great explanation David. The beginning was redundant but it works fine to emphasis what IP comes from what node in the network. I would add that this mostly work as it is described but in scenarios when you are using a free port and not reserved like port 80(HTTP) which requires additional steps to get openned

  • @AbulHasanLakhani
    @AbulHasanLakhani 3 ปีที่แล้ว

    Hi David, Thanks for this. Where do you run that PS script from? From your host machine or from your WSL2 Ubuntu machine? I would assume it would be from my host machine which is Windows 10

  • @bekman95
    @bekman95 3 ปีที่แล้ว +1

    Great ! Many many thanks, I was struggling with these stuff. Thank you David.

  • @prasannakumara6987
    @prasannakumara6987 4 ปีที่แล้ว +4

    thanks David you improved my knowledge.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      You are welcome Prasanna

  • @somaliya
    @somaliya 2 ปีที่แล้ว

    Thanks so much, this video really helped me. I was building ReactJS app inside WSL 2 and wanted to test the app an other computer

  • @azelbane87
    @azelbane87 3 ปีที่แล้ว +3

    ABSOLUTLY A W S O M E !! that was exactly what I was looking for and also the links you provided were the ones I landed on while searching the web!!!
    THANK YOU (all Educational-youtubers) FOR YOUR TIME AND ENERGY in DOING THIS! As usual the walkthrough and the explanations are PERFECT and crystal clear for anybody!
    WE LUV U D.Bomb

  • @abdulsamihamedi5584
    @abdulsamihamedi5584 4 ปีที่แล้ว +6

    Big fan david sir!!! Learned a lot from this video looking forward to learn something new from you again 😊

  • @bdubs2437
    @bdubs2437 3 ปีที่แล้ว

    Absolutely love your videos, just coming back from 12 years away from Linux. Your videos are fantastic!!

  • @s.e.5278
    @s.e.5278 2 หลายเดือนก่อน

    Thanks, ive been looking for someone to help me solve this for a while now.

  • @xaviercruzPT
    @xaviercruzPT ปีที่แล้ว

    you are the best, now i can watch plex locally on my tv so I wont lose quality

  • @agusttt
    @agusttt 4 ปีที่แล้ว

    thank you for writing the command we all came to get on the comments. you are the one.

  • @konstantinosvlitakis
    @konstantinosvlitakis 4 ปีที่แล้ว

    Thank you David for yet another great video! I was wondering if it is possible to connect your Windows 10 Home laptop with an ethernet cable and then create vlans on the laptop interface (as a trunk interface) and assign each WSL2 virtual machine (ubuntu instances) on a different vlan. Did you happen to come across such an information during your research on WSL2?

  • @DomThePsy
    @DomThePsy 5 หลายเดือนก่อน

    Thanks for that awsome tutorial!! finally :) good explained. now i can finally connect remote to my wsl machines :)

  • @gastonsalaya
    @gastonsalaya 3 ปีที่แล้ว

    Hi David! Your explanation was useful for me , and now I can execute my django web app from the Ubuntu app for Windows 10 and access to the app from my Android device!! Thank you very much!!!!😄👍👍

  • @ryanlin1014
    @ryanlin1014 3 ปีที่แล้ว

    Hi David, what a useful video for me and I have one more question. After run the netsh command line between the host computer and wsl2, if the host computer need the proxy(proxy script or proxy server which setting in windows network and internet) to access the external website, is it this proxy also in effect the wsl2? The wsl2 can access the external website by this proxy?

  • @dominiquerakotonirina5697
    @dominiquerakotonirina5697 2 ปีที่แล้ว

    Thanks David, really appreciated.

  • @Siddid
    @Siddid 2 ปีที่แล้ว +1

    thanks helped me a lot in my web development

  • @michaelcooper5490
    @michaelcooper5490 2 ปีที่แล้ว

    Great video David thanks for the info. I was able to answer my own question by watching your previous video. Thanks again for all the hard work .....

  • @murilo.goedert
    @murilo.goedert ปีที่แล้ว

    You saved my life! Thanks

  • @sergiomancera9225
    @sergiomancera9225 4 ปีที่แล้ว

    Thank you again David. This video unleashes new possibilities for WSL2. Fine work you do getting this information and explaining to us. Again Saludos desde México.

  • @ThePumbaadk
    @ThePumbaadk 4 ปีที่แล้ว +3

    This is great just what I was looking for, thanks David

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Thank you. Glad the video helped you :)

  • @dariosilva85
    @dariosilva85 4 ปีที่แล้ว +1

    David, did you experience problems with your Armoury Crate after enabling virtualization on your BIOS? Because when I turned on virtualization on my BIOS, it stopped Armoury from gathering hardware information, like CPU temperature and such. Did you experience the same problem on you ASUS? Can you please speak to this issue?

  • @gabrielcastro832
    @gabrielcastro832 3 ปีที่แล้ว +1

    Thanks David,
    have a question:
    Do you know how to configure a static ip address to the wsl2 ubuntu

  • @吳祐祐-s7b
    @吳祐祐-s7b 2 ปีที่แล้ว

    Thank you, David. You literally save my day!

  • @rishabhtomar2174
    @rishabhtomar2174 4 ปีที่แล้ว +1

    Thanks a lot david. You are such an idol for me. Love from india🇮🇳

  • @edwardhoffenheim3249
    @edwardhoffenheim3249 4 ปีที่แล้ว +1

    another question since you're on the topic on networking. How do you access local host on WSL2? From my searches it seems its not as intuitive as just using "localhost" like in WSL. So currently can't do database on a windows hosted database from WSL2.

  • @nokswift
    @nokswift 2 ปีที่แล้ว

    Thank you for such an easy to follow tutorial.

  • @luisfelipedasilva7128
    @luisfelipedasilva7128 ปีที่แล้ว

    Great video, man. Thx for save us

  • @snowblindu
    @snowblindu 4 หลายเดือนก่อน

    This helped a lot thank you!

  • @zihaosong1514
    @zihaosong1514 3 ปีที่แล้ว

    Absolutely loving this

  • @NGANguyenBinhVTID
    @NGANguyenBinhVTID 4 หลายเดือนก่อน

    Thank you a lot, you made my day

  • @jaromirvalek8120
    @jaromirvalek8120 ปีที่แล้ว

    Thank You so much I have been trying to crack it since 2 days.. Finally it worked.. thanks

  • @이상규-o6g6y
    @이상규-o6g6y 2 ปีที่แล้ว

    you are a life saver.

  • @Youtuberfacassado
    @Youtuberfacassado 3 ปีที่แล้ว

    Greetings from Brazil! Super content!

  • @michaelanderson7902
    @michaelanderson7902 4 ปีที่แล้ว

    That's what I've been wondering why I couldn't ping my wsl2 ubuntu distro thank you very much David this has been helpful

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +1

      Really happy to hear that Michael. Yes, a bit of a paradigm shift this... but you are basically doing networking and running firewalls within Windows :)

    • @michaelanderson7902
      @michaelanderson7902 4 ปีที่แล้ว

      @@davidbombal Thank you David

  • @robisadev
    @robisadev 10 หลายเดือนก่อน

    I honestly wanted to slap myself after trying this for every evening for three days and only after reaching today Firewall Rules did I figure out why everything I was trying was not working. That should have been step 5!

  • @cuberos7430
    @cuberos7430 3 ปีที่แล้ว

    I clarify several doubts that I had. Thanks a lot !!.🙌

  • @hambaku7318
    @hambaku7318 4 ปีที่แล้ว +3

    YOU ARE AN ABSOLUTE SAINT, I CANNOT THANK YOU ENOUGH FOR THIS TUTORIAL MAN!
    OH WOOOOOOOOOOOOOOOOOOOOW

  • @petrostrak7737
    @petrostrak7737 3 ปีที่แล้ว

    Great video thanks! One thing opened to question. Could you establish a vpn connection on wsl2 (let's say via openfortivpn to connect to office) and open a remote desktop from win10 to that vpn connection?

  • @TheKeysMan100
    @TheKeysMan100 4 ปีที่แล้ว

    @David Bombal you probably already know this but they also have Kali Linux on Win 10. Like Ubuntu its a subsystem. I searched for that in your videos not sure if you've don't it already, either way Cheers!

  • @patricio0
    @patricio0 ปีที่แล้ว

    Excellent video.

  • @vladislavkaras491
    @vladislavkaras491 ปีที่แล้ว

    Thanks for the video!

  • @cloudtech273
    @cloudtech273 2 ปีที่แล้ว

    This was fantastic. Thanks David !

  • @KennyGJr
    @KennyGJr 3 ปีที่แล้ว

    This is a great video. I'm new to the whole WSL 2 environment, cause I've been using VMware, but I'll be trying this out on my other laptops for sure. Thanks for the video David, much appreciated. ;-)

  • @agenesis6761
    @agenesis6761 2 ปีที่แล้ว +1

    On my WSL2 - there are two OS (Debian and Ubuntu 20.1 TLS). I would like to make Static IP on Ubuntu instance.
    My observation is both Debian and Ubuntu instances share same IP address under eth0.
    my queries:
    1. How to assign a static IP address for WSL2 i.e. Ubuntu (or Debian)
    2. can two separate static IP address can be configured for Ubuntu e.g. x.x.10.11 and Debian x.x.10.12 ?
    3. Any impact on Windows to WSL2 connectivity (from specified windows machine or externally)?
    4. If I make my windows machine configure with static IP address, whether, WSL2 machine will also have static ip addresses?
    Kindly help.
    AG

  • @FusionTechAI
    @FusionTechAI 4 ปีที่แล้ว

    Hello !! Can you make a video tutorial .. how to be able to change the directory of the wsl ... I need to change it to my other ssd before doing anything else ! I very appreciate the way you explain everthing !! Thank you for your great work !!

  • @taras1783
    @taras1783 4 ปีที่แล้ว +2

    I've been thinking 'bout networking on wsl2 for last two days... and now this video is in my subs. This is some illuminati level, lmao. Thank you, btw.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      lol... I'm reading your mind :)

  • @fabrice9848
    @fabrice9848 3 ปีที่แล้ว

    thank your for this video, never disappointed

  • @asaf158
    @asaf158 4 ปีที่แล้ว

    I LOVE YOUR CHANNEL!!! you are amazing! Thanks

  • @noisytech13
    @noisytech13 3 ปีที่แล้ว +1

    A wifi adapter which is used for wifi hacking with monitor mode

  • @umairm8595
    @umairm8595 4 ปีที่แล้ว

    Hi David thanks for the video, What I was wondering is that is there a GNS3 VM in WSL2 virtual machine that I could use to integrate in GNS3 or EVE-NG WSL 2 instead of using vmware player?

  • @orleydoss3171
    @orleydoss3171 4 ปีที่แล้ว

    Very detailed tutorial 👍 Thank you sir!

  • @kindalost1
    @kindalost1 2 ปีที่แล้ว

    David - Did you try the virtual switch method to achieve the same? that's the third option mentioned in that huge thread. for some reason, i can't get it to work. opening each port is very tedious.

  • @kindalost1
    @kindalost1 2 ปีที่แล้ว

    David - great video! thank you.

  • @arriyari
    @arriyari ปีที่แล้ว

    you save my life 🥺

  • @shervinrad100
    @shervinrad100 3 ปีที่แล้ว +1

    everything i needed thank you so so so much!!!

  • @hirahulsharma
    @hirahulsharma 4 ปีที่แล้ว

    Great Video! one question, why does it has to be natted IP... why don't we just give an ip directly from wifi....similar to exteranl type vswitch in hyper v..I am intrigued now, will try that..

  • @fruitsbasket6141
    @fruitsbasket6141 4 ปีที่แล้ว

    i like your network speed

  • @alexandrecaldeira9522
    @alexandrecaldeira9522 3 ปีที่แล้ว

    LIFE SAVER!

  • @DemolaOkesola
    @DemolaOkesola 4 ปีที่แล้ว

    David is the Bomb... All! Thanks David 👌

  • @naninca
    @naninca ปีที่แล้ว

    Thanks this help me a lot.

  • @sebastianguerraty6413
    @sebastianguerraty6413 3 ปีที่แล้ว

    Thanks for this video
    Microsoft really needs to fix the IP situation for WSL2, I wanted to use it for running some optimization workloads that require a license and I can´t because the the mac address for the ubuntu vm with wsl2 resets every time you shut down the machine => I would need a new license every time I turn off the computer

  • @angelvega3822
    @angelvega3822 3 ปีที่แล้ว

    Hi David, i want to start using more OS Linux in my laptop and i want to install it but what OS Linux recommend to use like principal OS in the laptop?.. thanks a lot. Best Regards

  • @bouhannacheabdallah
    @bouhannacheabdallah 4 ปีที่แล้ว

    Nice work of explanation.

  • @mariusavram7823
    @mariusavram7823 4 ปีที่แล้ว +2

    Thank you! That is awesome! I have a question, how to run remote desktop connection in windows 10 home edition?

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +2

      I don't think it supports an RDP server (but does have a client). Hence I'm using TightVNC.

    • @mariusavram7823
      @mariusavram7823 4 ปีที่แล้ว

      @@davidbombal Thank you!

  • @waasabbas
    @waasabbas 4 ปีที่แล้ว

    Hi David.Thanks for every thinge you are doing in Yourube Or Udemy.
    I passed My CCNA today 😂😂😂.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Fantastic! Congratulations!

  • @fayum4725
    @fayum4725 2 ปีที่แล้ว

    Ok, thank you, David.
    But maybe you know how to redirect UDP traffic?
    Seems that "netsh interface portproxy" allows TCP only.
    Would be useful for multinode docker swarn...

  • @jlocana1
    @jlocana1 3 ปีที่แล้ว

    thanks you are the best of the best

  • @MiguelRozsas
    @MiguelRozsas 4 ปีที่แล้ว +1

    Another unusual aspect of WSL2 is any Linux distro you have running Simultaneously is getting the same IP address. I mean, if you have two distros running in WSL2, both are getting the SAME IP address. That is really confusing. Can you comment/explain/clarify this point, please ?

  • @sonickanica
    @sonickanica 3 ปีที่แล้ว +2

    This is great. How does this gonna go when I'm connected to vulnerable machine through VPN and trying to reverse shell to WSL2 Kali? :D This is seriously killing me...

  • @john_dren
    @john_dren 3 ปีที่แล้ว

    Hello, thank you for the video! I have been trying to get cURL to work within WSL2 to work without success, would you have suggestions as to how to configure it?

  • @NicolaiSyvertsen
    @NicolaiSyvertsen 4 ปีที่แล้ว +1

    Have you tried bridging the vEthernet interface to your physical one and then just trying DHCP on the WSL2 guest?

  • @sahilsagwekar
    @sahilsagwekar ปีที่แล้ว

    I love you so much man!!!