Android Firewall+ is an advanced iptables editor (GUI) for Android. It provides fine-grained control over which Android apps are allowed to access the network.
The original codebase was derived from DroidWall by Rodrigo Rosauro. DroidWall was sold to AVAST in December 2011, and is no longer actively maintained.
For more information and community discussions, please visit the XDA thread or our WIKI.
Changelog
The AFWall+ version history is maintained here.
Bug Reports
Please see the issues section to report any bugs or feature requests and to see the list of known issues. Before you report a bug, take a look here.
FAQ
Having problems with AFWall+? Check out the FAQ before reporting a bug or problem that may already be known.
ToDo:
- All Bug fixes from original DroidWall
- Integrate with Network Log
- Uninstall application from list window (or open/manage application from list)
- All bugs reported by users
Already done
New GUI(since 1.0.1a)Roaming option ( like avast firewall )(since 1.0.2a)Flush/Reset iptables rules from UI(since 1.0.2a)Save & Load Profiles/Rules(since 1.0.3a)Full i18n support(since 1.0.3a)View iptables rules and logging in a clear view(since 1.0.4a)Support for Tasker & Locale(since 1.0.4a)Multiple Profiles(Since 1.0.7a)Support for only within LAN/WAN(Since 1.2.5)
License
- AFwall+ is under the GNU General Public License v3.0 License
Acknowledgements
This project also uses many other open source libraries such as:
Project | License | Website |
ActionBarSherlock | Apache License 2.0 | http://actionbarsherlock.com/ |
Unified Preferences | Apache License 2.0 | https://github.com/saik0/UnifiedPreference/ |
Android Color Picker | Apache License 2.0 | https://github.com/attenzione/android-ColorPickerPreference |
Root Tools | Apache License 2.0 | https://code.google.com/p/roottools/ |
Libsuperuser | Apache License 2.0 | https://github.com/Chainfire/libsuperuser |
How to compile AFWall+
Prerequisites:
- Android SDK in your $PATH (both platform-tools/ and tools/ directories)
- javac 1.6 and a recent version of Apache ant in your $PATH
- git in your $PATH
- Use the Android SDK Manager to install APIs 14, 16, and 19
Quick start:
git clone git://github.com/ukanth/afwall
cd afwall
git submodule init
git submodule update
android update project -p . -s
ant debug
For complete instructions, please take a look at the Wiki | HOWTO-Compile-AFWall.
Compiling native binaries
On the host side you'll need to install:
- NDK r9, nominally under /opt/android-ndk-r9
- Host-side gcc, make, etc. (Red Hat "Development Tools" group or Debian build-essential)
- autoconf, automake, and libtool
This command will build the Android binaries and copy them into res/raw/:
make -C external NDK=/opt/android-ndk-r9
Contributing
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bug fixes, additional language translations, unit/integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.