AndFirewall BETA

AndFirewall BETA is a small firewall for android devices which provides a comprehensive way to ALLOW/REJECT specific Application, Port and IP address connecting to INTERNET. It uses netfilter iptables binary that is a core part of Android Linux Kernel for creating rules for firewall.The application is available for free in the download section.

It has the following functions
-Display Network and Connection Information
-WLAN status
-Network Interfaces
-Active Connections
-Listing applications connecting to INTERNET
-Display current IPTABLES configuration
-Displays logcat output and provision for filtering the log output
-Provision for adding firewall rules
-Blacklisting/Whitelisting specific application
-Blacklisting/Whitelisting specific IP address or port
-Clearing IPTABLES
-Maintaining log and provision for exporting log information

-and lots more….

Available in Android Market


3 thoughts on “AndFirewall BETA

    fiery said:
    December 11, 2011 at 9:23 pm

    I installed AndFirewall (no version in the about box, but I downloaded it from your site on Dec 11, 2011) on a Sansung Galaxy Y (Android 2.3.6, kernel 2.6.35.7, iptables 1.3.7, rooted – Superuser 3.0).

    AndFirewall shows nothing for network interfaces (both 3G and WiFi are enabled), empty info for WiFi and iptables rules which seems to allow all traffic (INPUT, FORWARD and OUTPUT are set to ACCEPT). The problem is that when I try to save a rule (either for application or IP in whitelist or blacklist) the Superuser app asks to allow access to /system/bin/sh and then it crashes. Log shows that I have set a rule, but it’s not actually set.

    I can test iptables in Terminal Emulator to see if it returns some error. Problem is either in extraction of network interfaces, kernel, iptables (“iptables –list” works fine in your app) or Superuser. Please, post a simple rule to paste it in the Terminal app for testing i.e. to reject all outgoing traffic, but allow one app i.e. Internet browser to connect the 3G or WiFi network.

    fiery said:
    December 11, 2011 at 10:01 pm

    After updating the su binary to v3.0.3 inside the Superuser app and setting Superuser to allow all requests, AndFirewall doesn’t cause the Supeuser to crash when I set a new rule. I receive a confirmation that the Application or IP rule has been set successfully, but the iptables list of rules is still the same (INPUT, FORWARD and OUTPUT are set to ACCEPT), no rule is added actually. I used refresh command and also restarted the phone, but default rules don’t change. So now there are no crashes with AndFirewall, but rules are not set anyway.

    Also, AndFirewall seems to miss a function to list all set rules. What if I just want to change a rule, should I clear and then start from the beginning?

    fiery said:
    December 14, 2011 at 9:35 pm

    AndFirewall 1.2 returns success when adding a new rule, but actually no rule is added. Device is Samsung Galaxy Y GT-S5360 (Android 2.3.6, kernel 2.6.35.7, iptables 1.3.7, rooted – Superuser 3.0.7, su 3.0.3).

    Where should we submit the feedback? It seems that developer doesn’t read this thread.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s