Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wi-Fi-Hotspot not working while AFWall+ is enabled #344

Closed
bopi- opened this issue Feb 2, 2015 · 10 comments
Closed

Wi-Fi-Hotspot not working while AFWall+ is enabled #344

bopi- opened this issue Feb 2, 2015 · 10 comments

Comments

@bopi-
Copy link

bopi- commented Feb 2, 2015

AFWall+ Logs:
AppID : -11
Application's Name:
Total Packets Blocked: 4
[UDP]10.74.210.211:53(2)
[UDP]10.74.210.210:53(2)

NFLOG:
{AFL} IN= OUT=ccmni0 SRC=10.202.247.168 DST=10.74.210.210 LEN=69 PROTO=UDP SPT=53300 DPT=53 LEN=49 UID=1014
{AFL} IN= OUT=ccmni0 SRC=10.202.247.168 DST=10.74.210.211 LEN=69 PROTO=UDP SPT=53300 DPT=53 LEN=49 UID=1014

Adding a custom script solves the problem:
$IPTABLES -A afwall-3g-tether -p tcp -m owner --uid-owner 1014 -m tcp --dport 53 -j RETURN
$IPTABLES -A afwall-3g-tether -p udp -m owner --uid-owner 1014 -m udp --dport 53 -j RETURN

What do you thing about adding these rules to afwall-3g-tether chain when enabling "-12:(Tethering) - DHCP+DNS service"?

AFWall+: 1.3.4.1
Android: 4.2.2
Device: Acer Z160

@Mannshoch
Copy link

Its strange. On my Samsung Galaxy S2 (CM11, Android 4.4.4); AFWall+ Alpha2 from F-Droid
3G -> Wifi works with activated AFWall+
Wifi -> USB only if I deactivate AFWall+

@Mannshoch
Copy link

I detected that Wifi -> USB work also if I tick "-10:(Jede App)" to be allowed for Wifi

@Mannshoch
Copy link

I know but there is a silent hope for an enhancement :-)

@varhub
Copy link

varhub commented Aug 24, 2018

@ukanth I reflog this issue due similar problems in android 6.
If 1014 is a reserved uid, why not just add these an others to list and let user enable it?
Just like 1013 (media) -12 (tethering) -11 (kernel) 1011 (gps) and so on.

@codyit
Copy link

codyit commented Nov 12, 2018

So for my case the blocked UID is -1
Either for hotspot and another application in work profile calling microg gsm
What does -1 mean?

@DenyDarko
Copy link

DenyDarko commented Jul 31, 2019

Count me in on this issue.

Android 9 OnePlus 6.

Open Beta 23.

Client connected to the Hotspot, no internet till I disabled afwall

And I also see the weird -1 as @codyit mentioned.
For me, it reports as Linux kernel

@nihal697
Copy link

nihal697 commented Jul 2, 2020

Same issue here.
Running xiaomi redmi note 7, AICP android Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants
@ukanth @codyit @DenyDarko @varhub @Mannshoch @bopi- @nihal697 and others