How to get internet in waydroid with ufw enabled?
-
Hello,
i am running Ubuntu Touch Focal OTA-4 and compiled my own kernel to make ufw work properly. But with ufw enabled i have no internet in waydroid. When starting waydroid two new interfaces show up with
ifconfig
,waydroid0
and aveth******
-interface that changes its name every time i start waydroid. What rules do i need to set for ufw or iptables, and do i need to set a route withip route add ***
?I don't want to disable ufw every time i start waydroid. Please help.
Kind regards
bbiw
-
@bbiw
Have you looked at this at all?
https://github.com/waydroid/waydroid/issues/680 -
@Inali
Thank you for the effort, maybe this site helped a little bit. The solution i've found is a simple:sudo ufw allow out on waydroid0 to any
. I was (and still am) confused about the 2 devices and how they "work" together. Now that i know which interface to deal with i can, of course, precise this rule, but i have another (Android-) firewall in the waydroid container that can handle this.