ukanth / afwall

AFWall+ (Android Firewall +) - iptables based firewall for Android
GNU General Public License v3.0
2.72k stars 447 forks source link

Private DNS #1314

Open dnd66 opened 1 year ago

dnd66 commented 1 year ago

Private DNS still does not work with AFWall on Lineage 19.1 (Andrdoid 12) and AFWall v 3.5.3 Other users have the same issue: #1176 #985

Suggested solutions are the following custom scripts: IPTABLES=/system/bin/iptables $IPTABLES -I "afwall" -p tcp --dport 853 -j ACCEPT

or e.g.

IPTABLES=/system/bin/iptables $IPTABLES -A "afwall" -p TCP --dport 853 -d 1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4 -m owner --uid-owner root -j ACCEPT

None of this works. So what is the official position on how to use private DNS with AFWall?

marcosilva85 commented 1 year ago

This and the hotspot feature are two native Android features that immediately stop working when Afwall is enabled, which is a nuisance for new users to figure out a way around. @ukanth is there a possibility that you could ship a fix in Afwall for these? Thanks

Honjan commented 2 weeks ago

Same probelm here with AFWall+ 3.6.0 and Android Private DNS (e.g. one.one.one.one). Please fix it.