Afwall
AFWall+ (Android Firewall +) - iptables based firewall for Android
Under GNU General Public License v3.0
By ukanth
AFWall+ (Android Firewall +) - iptables based firewall for Android
Under GNU General Public License v3.0
By ukanth
AFWall+ (Android Firewall+)
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.
For more information and a community discussion ground, please visit the official XDA thread or the official Wiki page.
AFWall can be downloaded via Google Play Store, GitHub or via F-Droid.
The changelog documents changes between each new release.
Please check GitHub's issues section for existing bugs and in case you like to submit a new one. Feature requests are also welcome.
Before you report any problem/bug, take a look into the how-to-report a bug section.
AFWall+ has been successfully tested under Android versions 4.x - 9.x. and is reported to work with most Android variants, including stock or exotic ROMs.
We do not recommend using AFWall+ in combination with any of the similar solutions (Avast, Kaspersky, NetGuard etc) because this could result in conflicts or even data leaks (e.g. IPtables could get overwritten).
The upgrading mechanism is really simple, basically you can just "over-install" the new version over the old one, however this is the best pratice (which we recommended):
AFWall+ asks for the following Android permissions:
Having some problems with AFWall+? Check out our FAQ before reporting a bug or problem that may already be known or answered.
AFWall+ is released under the GNU General Public License v3.0 License.
The original codebase was derived from DroidWall by Rodrigo Rosauro. DroidWall was sold to AVAST in December 2011, and is no longer actively maintained.
This project also uses some other open-source libraries such as:
Project
License
Website
Android Color Picker
Apache License 2.0
https://github.com/attenzione/android-ColorPickerPreference
Busybox
GNU GPLv2
http://www.busybox.net
DBFlow
MIT
https://github.com/Raizlabs/DBFlow
Prettytime
Apache License 2.0
https://github.com/ocpsoft/prettytime
material-dialogs
MIT License
https://github.com/afollestad/material-dialogs
iptables
GNU GPLv2
http://netfilter.org/projects/iptables/index.html
Libsuperuser
Apache License 2.0
https://github.com/Chainfire/libsuperuser
Locale Plugin
Apache License 2.0
http://www.twofortyfouram.com
Networklog
Mozilla Public License Version 2.0
https://github.com/pragma-/networklog
Root Tools
Apache License 2.0
https://github.com/Stericson/RootTools
Compiling the APK
Prerequisites:
Quick start:
git clone git://github.com/ukanth/afwall
cd afwall
./gradlew clean assembleDebug
For complete instructions, please take a look at the Wiki's How To Compile AFWAll section.
You can compile the external binaries like BusyBox or the IPtables yourself, on the host side, you'll need to install the following:
This command will build the Android binaries and copy them into res/raw/
:
make -C external NDK=/opt/android-ndk-r10
You can fork the repository and contribute using pull requests.
All contributions no matter if large or small, major features, bug fixes, additional language translations, unit/integration tests are welcomed and appreciated. The pull requests and findings are usually getting reviewed and discussed with the developer and the community .
The res/values-*
dirs are kept up-to-date automatically via the Crowdin Translate Extension. See our official translation page in case you like to contribute.
AFWall+ is available in many languages but if yours is not included - or if it needs updating or improving - please create an account and use the translation system and commit your changes.
Donations are optional and helps the project in order to keep up the development. The official donation link is the one below which points to the official AFWall+ PayPal account. You optionally can buy the unlocker key via Google Play Store which unlocks additional features in AFWall+, the unlocker is not avbl. via F-Droid.