@Moem in my case there were two things I had to adjust to fix this permanently. You will need to use adb/ssh to access your device. Run waydroid (either by cli or by opening waydroid).
- captive portal issue
inside the container first check if you can at least ping :
sudo waydroid shell
ping 8.8.8.8
ping google.com
If this works but you still don't have access to internet inside the apps, run the following command:
dumpsys connectivity | grep "VALIDATED"
In case the output shows nothing, then it's an issue with android captive portal.
- rp_filter dropping packages
sudo waydroid shell
cat /proc/sys/net/ipv4/conf/eth0/rp_filter
cat /proc/sys/net/ipv4/conf/all/rp_filter
if the output is not 0, then you can try applying the following:
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
test if this fixed the issue:
ping 8.8.8.8
ping google.com
These are just temporary changes that would help to see if you are experiencing the same issues as me, so don't worry about running these commands because they will not persist after re-launching the app again. In case we identify one (or both) as potential issues. We can try to apply the fixes permanently.