[G 2014 Q&A, Help & Troubleshooting] iiccbbnn:
I have a following situation.

AFWall+ from Google Play version 1.3.4.1 (when enabled) doesn't let me connect to my WiFi.

When I have AFWall+ enabled and WiFi disabled, and I enable WiFi. It does connect but I can see an exclamation mark on WiFi status.

I checked my external IP and the contection to the internet is via cellular network.

On the other hand, when I have AFWall+ disabled and WiFi disabled, and I enable WiFi. It does all work properly.

I can then enable AFWall+ and it keeps working fine.

I have enabled AFWall's logs but nothing shows up there that could be related.

I have Motorola Moto G LTE edition XT1039 running with stock Android Lollipop 5.1. It is rooted.

Backup of my rules and settings (backup_all.json)

{"default":{"com.motorola.genie":{"0":true,"1":true},"dev.afwall.special.root":{"0":true,"1":true,"4":true},"se.feomedia.quizkampen.pl.premium":{"0":true,"1":true,"4":true},"dev.afwall.special.media":{"0":true,"1":true,"4":true},"org.wikipedia":{"0":true,"1":true},"alior.bankingapp.android":{"0":true,"1":true},"com.motorola.ccc.devicemanagement":{"0":true,"1":true,"4":true},"pl.innoapp.ostrzezenia":{"0":true,"1":true},"com.farproc.wifi.analyzer":{"0":true,"4":true},"dev.afwall.special.tether":{"0":true,"1":true,"4":true},"com.starrealms.starrealmsapp":{"0":true,"1":true},"com.google.android.googlequicksearchbox":{"0":true,"1":true,"4":true},"com.tdevaux.googleurlshortener":{"0":true,"1":true},"com.humblebundle.library":{"0":true,"1":true},"com.android.proxyhandler":{"0":true,"1":true,"4":true},"com.android.managedprovisioning":{"0":true,"1":true,"4":true},"dev.afwall.special.shell":{"0":true,"1":true,"4":true},"com.android.chrome":{"0":true,"1":true},"com.motorola.motocit":{"0":true,"1":true,"4":true},"com.avira.android":{"0":true,"1":true,"4":true},"com.google.android.feedback":{"0":true,"1":true,"4":true},"com.google.android.inputmethod.latin":{"0":true,"1":true},"pl.ppuc.envelo":{"0":true,"1":true},"com.microsoft.office.excel":{"0":true,"1":true},"org.random.randomapp":{"0":true,"1":true},"com.touchtype.swiftkey":{"0":true,"1":true},"com.sonyericsson.trackid":{"0":true,"1":true},"org.zwanoo.android.speedtest":{"0":true,"1":true},"com.flightradar24pro":{"0":true,"1":true},"org.mozilla.firefox":{"0":true,"1":true,"4":true},"dev.afwall.special.adb":{"0":true,"1":true,"4":true},"com.google.android.apps.maps":{"0":true,"1":true},"pl.naviexpert.market":{"0":true,"1":true},"com.android.contacts":{"0":true,"1":true,"4":true},"dev.afwall.special.kernel":{"0":true,"1":true,"4":true},"pl.pizzaportalnew":{"0":true,"1":true},"com.zoho.mail":{"0":true,"1":true},"com.vimeo.android.videoapp":{"0":true,"1":true},"dev.afwall.special.ntp":{"0":true,"1":true,"4":true},"com.google.android.street":{"0":true,"1":true},"com.zoho.chat":{"0":true,"1":true},"com.citynav.jakdojade.pl.android":{"0":true,"1":true},"com.comarch.mobile":{"0":true,"1":true},"pl.tribalddb.mcdonalds.app.android":{"0":true,"1":true},"com.motorola.MotGallery2":{"0":true,"1":true},"com.google.android.apps.translate":{"0":true,"1":true},"eu.eleader.mobilebanking.pekao":{"0":true,"1":true},"com.motorola.android.dm.service":{"0":true,"1":true,"4":true},"com.gazetki.gazetki":{"0":true,"1":true},"pl.tablica":{"0":true,"1":true},"com.android.providers.calendar":{"0":true,"1":true},"com.android.vending":{"0":true,"1":true,"4":true},"la.droid.qr.priva":{"0":true,"1":true},"com.android.providers.telephony":{"0":true,"1":true,"4":true},"com.android.mms":{"1":true},"com.evernote":{"0":true,"1":true},"com.lmi.motorola.rescue":{"0":true,"1":true,"4":true},"com.chess":{"0":true,"1":true},"com.zoho.writer":{"0":true,"1":true},"com.softano.meteoicm":{"0":true,"1":true},"com.android.dialer":{"0":true,"1":true,"4":true},"com.play.play24m":{"0":true,"1":true},"com.google.android.youtube":{"0":true,"1":true},"org.fdroid.fdroid":{"0":true,"1":true},"dev.afwall.special.gps":{"0":true,"1":true,"4":true},"com.dropbox.android":{"0":true,"1":true},"com.motorola.setup":{"0":true,"1":true,"4":true},"pl.aliorbank.kantorwalutowy":{"0":true,"1":true},"com.google.android.androidforwork":{"0":true,"1":true,"4":true},"com.google.android.deskclock":{"0":true,"1":true},"com.samsungimaging.connectionmanager":{"0":true,"4":true},"com.google.android.setupwizard":{"0":true,"1":true,"4":true},"com.microsoft.office.officelens":{"0":true},"com.google.android.calendar":{"0":true,"1":true},"com.microsoft.skydrive":{"0":true,"1":true},"pl.moveapp.efood":{"0":true,"1":true},"com.todoist":{"0":true,"1":true},"com.facebook.lite":{"0":true,"1":true},"com.google.android.syncadapters.contacts":{"0":true,"1":true,"4":true},"com.android.captiveportallogin":{"0":true,"1":true,"4":true},"com.google.android.configupdater":{"0":true,"1":true,"4":true},"com.motorola.avatar":{"0":true,"1":true},"pl.allegro":{"0":true,"1":true},"com.zoho.docs":{"0":true,"1":true},"dev.ukanth.ufirewall":{"0":true,"1":true,"4":true},"com.motorola.contextual.smartrules2":{"0":true,"1":true},"com.android.pacprocessor":{"0":true,"1":true,"4":true},"com.yourdelivery.pyszne":{"0":true,"1":true},"com.google.android.apps.docs":{"0":true,"1":true},"pl.anddev.polishairpollution":{"0":true,"1":true},"com.hovans.autoguard":{"0":true,"1":true},"com.skype.raider":{"0":true,"1":true},"pl.ceneo":{"0":true,"1":true},"com.samsungimaging.samsunghomemonitor":{"0":true,"4":true},"com.motorola.android.fmradio":{"0":true,"1":true,"4":true},"com.android.providers.media":{"0":true,"1":true,"4":true},"com.facebook.orca":{"0":true,"1":true},"dev.afwall.special.vpn":{"0":true,"1":true,"4":true},"org.adaway":{"0":true,"1":true},"com.google.android.partnersetup":{"0":true,"1":true,"4":true},"com.gelakinetic.mtgfam":{"0":true,"1":true},"pl.mobilet.app":{"0":true,"1":true},"uk.amazon.mShop.android":{"0":true,"1":true}},"prefs":[{"enableLogService":"true"},{"notifyAppInstall":"true"},{"enableRoam":"false"},{"enableLog":"true"},{"enableIPv6":"false"},{"bb_path":"builtin"},{"showUid":"true"},{"enableConfirm":"true"},{"enableAdmin":"false"},{"appVersion":"171"},{"fixLeak":"false"},{"activeNotification":"false"},{"locale":"pl"},{"disableIcons":"false"},{"disableTaskerToast":"false"},{"dns_value":"auto"},{"showFilter":"true"},{"enableVPN":"false"},{"ip_path":"auto"},{"activeRules":"true"},{"storedPosition":"0"},{"enableLAN":"true"},{"logTarget":"LOG"},{"patternMax":"3"}]}

IPTable rules (rules.log)

pastebin.com/BSYFUEtb