Skip to content

Error codes

CHEF-KOCH edited this page Jul 22, 2014 · 10 revisions

Index

Description

This page should explain some details about some error codes that AFWall+ may gave you.

Codes

(1) Error applying iptables rules. Exit code: -1

This error usually means that the kernel does not support the iptables owner match kernel module. AFWall+ will unfortunately not work on your ROM. But, there are some workarounds for this. First try to change the iptables binary from preferences from "Built-in" to "System". In most cases this works on newer ROM's.

Or manually via adb shell or Terminal Emulator:

su
mount -o remount,rw /system
cp /data/data/android.tether/bin/iptables /system/bin
mount -o remount,ro /system

(2) Error 127 – “iptables: not found”

This error happens because iptables user-space software application that allows the system administrator to configure the tables provided by the Linux kernel firewall and the chains and rules for storage, is not an operating system Android OS. Please try the same method as described above.

Useful links