Is it possible to create an iptable whitelist on a non-rooted android 15 device?


I am working on a project with a Blu Smartphones K2 android (OS version 15.5.178) that entails regular connection to various fixed-up hotspots.

Due to the information traveling over these connections, I want to restrict the device to **only** be able to connect the ips of the hotspots via an iptable whitelist.

The AOSP documentation for IP tables states the relevant commands are restricted to manipulating vendor chains, but I haven’t been able to find the documentation for vendor chains and interfaces.

Is what I’m attempting to do even possible? Rooting the device isn’t a possibility.

Apologies if this is a rather amateur question. This is my first project with the android architecture, and all of my the answers I’ve found from googling have been inconclusive/contradictory and/or 10+ years out of date. Appreciation in advance.

0
Jun 11 at 2:52 PM
User AvatarShroudedSpaceWhale
#android#android-source#iptables#network-protocols

Accepted Answer

Stack Overflow is for programming questions. This does not appear to be a programming question. Try https://android.stackexchange.com/.

User AvatarCommonsWare
Jun 11 at 2:53 PM
0