Android Firewall+ (AFWall+) is an advanced iptables editor (GUI) for Android. It provides fine-grained control over which Android apps are allowed to access the network.
===== Download and install apk =====
Install AFWall+ via [[en:phone:apps:f-droid|F-Droid]] - https://f-droid.org/packages/dev.ukanth.ufirewall/.
===== First start =====
Allow root ''Forever''.
===== Settings =====
Go to ''Preferences'' and select/deselect all the options you prefer.
<alert type="info" icon="fa fa-info-circle">Also remember to donate https://github.com/ukanth/afwall/wiki#making-donations. It helps the developer and unlock some additional features as well.</alert>
===== Rules =====
See the following example/basic, which contains the above example and ''Allow selected''.
Every time you install a new app, AFWall will send you a notification to configure the new app.
Keep in mind with each new application you install whether it requires Internet access or not.
You can also add some [[https://github.com/ukanth/afwall/wiki/CustomScripts|custom scripts]] and more. Just check [[https://github.com/ukanth/afwall/wiki|AFWalls wiki]].