MagiskOnWSA/docs/Fixes/FixInternet.md
These will be split into multiple solutions due to the different causes of the problem of no internet on Windows Subsystem for Android (WSA) and Windows Subsytem for Linux (WSL)
Some Hyper-V Network Drivers may be interferring with WSA or WSL
⚠️ Carry these instructions out with caution. ⚠️
⚠️ I do not take responsibility for any damage caused ⚠️
Sometimes Windows Firewall and other Firewall tools and software may be the cause of internet issues. It is therefore important that we check them if we are facing issues with internet on WSA.
<summary><h4>Users with Windows Firewall<h4></summary>1. Open Windows Firewall by pressing the Windows Key and "R" key, Open Run
2. Type WF.msc, and then select OK. See also Open Windows Firewall
3. Go to the "Inbound Connection" tab
4. Find the entries in the list that state: "Windows Subsystem for Android™"
5. Confirm that these entries are Enabled and "Action" is set to "Allow" for both UDP and TCP for all entries (as shown above)
6. Now, go to the "Outbound Connection" tab
7. Find the entries in the list that state: "Windows Subsystem for Android™"
5. Confirm that these entries are Enabled and "Action" is set to "Allow" for both UDP and TCP for all entries (as shown above)
<picture> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/light-theme/tip.svg"> </picture>
<summary><h4>Antivirus Users<h4></summary>You may not have as many entries for "Windows Subsystem for Android™", as shown in the screenshots provded. These are just for illustration purposes and Firewall entries may look different on your device.
It is a known issue that some antivirus firewall such as those built-in to ESET, Bitdefender, AVG and many others, can prevent the internet for Windows Susbsystem for Android (WSA) from working. It is highly recommended to disable the firewall provided by these Antivirus/Antimalware tools and fallback to Windows Firewall, to see if the internet starts working.
Source: From this
</details>1. Open Windows Firewall by pressing the Windows Key and "R" key, Open Run
2. Type wsa://com.android.settings, and then select OK.
3. Wait for Android Settings to load and open.
4. In Android Settings, click on the "Network and Internet" Section.
5. In the "Network and Internet" Section, select "Private DNS" .
6. In the "Select Private DNS mode", click on "Private DNS provider hostname".
7. In the entry box below, type "dns.google" and click save.
8. Now click on the "Internet" section and click on VirtWifi.
9. Click on "Disconnect".
10. Then click on "Connect".
Your Internet should now be fixed!
</details>This should fix the internet if Advanced Networking was on and the internet was not working due to this
</details>