1 |
Hi, |
2 |
|
3 |
On Sat, 15 Aug 2015 06:53:30 +0200 Meino.Cramer@×××.de wrote: |
4 |
> on my Android tablet I have installed a Gentoo rootfs. |
5 |
> I can start this by chgrooting it after Android has booted. |
6 |
> Via xvnc I can connect from a running Android to the also |
7 |
> running Gentoo Linux. |
8 |
> If I set up a firewall as root (the Android is rooted) while |
9 |
> I am in the chrooted Linux this firewall setting have to be |
10 |
> active also in the Android environment, right? |
11 |
> Of vice versa: I can track any network traffic of the Android |
12 |
> OS inside my chrooted Linux, right? |
13 |
> |
14 |
> One kernel to rule them all...? |
15 |
|
16 |
If this is only chroot, you have to set all iptables rules (and |
17 |
other network configuration) in the host system environment (on |
18 |
Android). If you are using LXC or other container, involving |
19 |
network namespace separation (not sure this is doable on Android, |
20 |
kernel must support NET_NS as well as userspace tools should |
21 |
support this), then you have to set up network inside container and |
22 |
bridge/route it with the host system. |
23 |
|
24 |
Best regards, |
25 |
Andrew Savchenko |