Hi, On Sat, 15 Aug 2015 06:53:30 +0200 meino.cra...@gmx.de wrote: > on my Android tablet I have installed a Gentoo rootfs. > I can start this by chgrooting it after Android has booted. > Via xvnc I can connect from a running Android to the also > running Gentoo Linux. > If I set up a firewall as root (the Android is rooted) while > I am in the chrooted Linux this firewall setting have to be > active also in the Android environment, right? > Of vice versa: I can track any network traffic of the Android > OS inside my chrooted Linux, right? > > One kernel to rule them all...?
If this is only chroot, you have to set all iptables rules (and other network configuration) in the host system environment (on Android). If you are using LXC or other container, involving network namespace separation (not sure this is doable on Android, kernel must support NET_NS as well as userspace tools should support this), then you have to set up network inside container and bridge/route it with the host system. Best regards, Andrew Savchenko
pgp79Vhj9xFZf.pgp
Description: PGP signature