Skip to content
This repository

AFWall+ (Android Firewall +) - Firewall for Android

This branch is 13 commits ahead and 162 commits behind beta

Fetching latest commit…

Cannot retrieve the latest commit at this time

AFWall+ ( Android Firewall +) Build Status


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.

Google Play


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.


Having problems with AFWall+? Check out the FAQ before reporting a bug or problem that may already be known.


  • 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)



This project also uses many other open source libraries such as:

Project License Website
ActionBarSherlock Apache License 2.0
Unified Preferences Apache License 2.0
Android Color Picker Apache License 2.0
Root Tools Apache License 2.0
Libsuperuser Apache License 2.0

How to compile AFWall+


  • 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://
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


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.

Something went wrong with that request. Please try again.