Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Wi-Fi-Hotspot not working while AFWall+ is enabled #344
Adding a custom script solves the problem:
What do you thing about adding these rules to afwall-3g-tether chain when enabling "-12:(Tethering) - DHCP+DNS service"?
It's depending with which configuration this works or not, on Android 4.3+ DNS is general disabled but if we gonna disable netd and enable tethering it should work (no need to add custom rules and btw the only difference is the owner ID you gave us compared to existent source).
Try this with the latest alpha and report back if that worked for you, sure you are on 4.2.2 but it's not mentioned if it's stock/nightly/aokp or which base use this rom so it could be working or not. To general automatically open it could be a security risk.
A little story about that to better understand:
The important line:
Imho the best thing is to leave it just how it comes (enabled/manual) because disabling it will stop your computer/device from registering it's domain name with your local DNS server if you're on an Active Directory domain, reducing the cache duration in the registry as mentioned is the best thing (4 hours should be okay). I not found any similar solution in Android yet (or only with huge expense). And also remember that we have different systems (Android 4/5) and such which may (depending on the rom/implementation) handle stuff different.