-
Notifications
You must be signed in to change notification settings - Fork 455
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
DNS (port 53) is blocked for Wifi tethering #377
Comments
Hi, thank you for your help. I try to give you as many informations as I can then. I already tried blacklist mode, but it didn't help. I'm not a pro in using iptables, but I will try to make up a custom script (could take me some time). Thanks for the information about the IP's used by vodafone[DE]. Find the debug information here: |
Why don't you use Gist for providing debug information? |
Because I didn't know about it ;-) Edit: now I did. |
Ok, simply opening port 53 in chain afwall for udp/tcp with a custon script did work. But how can I restrict the access to the kernel only (like the afwall option suggests)? is -11 a valid UID? "-m ower --uid-owner -11" did't work (error applying rules). Who can help? Thanks! |
Hi, how do I open port 53? I have the same problem on OPO. Thank you |
as a workaround I've set an added DNS server (8.8.8.8) in the connection definition |
I mean I have set a static DNS in the Linux (on my PC) connection definition, it won't be overwritten of course. I'd like to avoid executing a script on the android (need to open a shell, etc.) every time I need a wifi hotspot... What kind of log do you need? |
[why setting a static DNS should be a problem? apart from using Google's of course] phone: ONEplus AFWall+ Mode: whitelist Android ROM + exactly versions number: cyanogen 12.0-YNG1TAS17L What steps will reproduce the problem?
Additional security software installed (like XPrivacy/Avast)? Is it really deactivated?! What is the expected output? What do you see instead? Attach your rules.log (IPv4 + IPv6)
Which binaries are used for BusyBox/IPTables? Which DNS-proxy option is in usage?
|
done editing, but I think it's uglier... added #4 ("apps running as root" I forgot) |
and... apart from a phone reboot I did not change anything... now it works!
$ dig @192.168.43.1 di.unimi.it
even restarting dnsmasq (on my pc) and disabling the static DNS (8.8.8.8) just to be sure, same result very puzzled... I'm sorry I created some noise here, if it happens again I'll try to understand why |
Hi,
I've got the problem that when using wifi-tethering the clients DNS-requests are blocked.
I use Android 4.2.2 (Fairphone 1), afwall+ in whitelist mode, kernel (-11) and Tehering (-12) are allowed for every kind of connection.
When I try to connect to any webservice via domain name from my laptop, the DNS-request is blocked by afwall (Log entry: AppID: -11, [UDP]139.7.30.126:53 (which is my carriers DNS-Server), [UDP]8.8.8.8:53 (Google DNS server)). Connecting via IP works though.
Could anyone help me out with this issue? I tried to find a solution reading any kind of FAQ's, using Google and so on. If the solution is out there and I didn't find it, please forgive me ;-) All the bugs reported so far are different as they concern bluetooth tethering (as far as I know). Thanks a lot!
Edit: disabling afwall makes the connection work, so I think it really is an afwall related problem
The text was updated successfully, but these errors were encountered: