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

Does not work with Adaway #110

Closed
mirchisait opened this issue Feb 1, 2022 · 9 comments
Closed

Does not work with Adaway #110

mirchisait opened this issue Feb 1, 2022 · 9 comments
Labels
question Further information is requested wontfix This will not be worked on

Comments

@mirchisait
Copy link

ROM - crDroid A12
Version: 2.1
Magisk with systemless hosts enabled

Hi!

I always get an error, ERR_TIMED_OUT in bromite & other apps won't connect when I use Adaway.

The app works without any issues when I disable Adway & reset the hosts file to default.

@krlvm
Copy link
Owner

krlvm commented Feb 1, 2022

You need to exclude PowerTunnel from Adaway proxying and vice versa, like this: #36

Tell if you need additional help.

@mirchisait
Copy link
Author

There's no option to whitelist or exclude an app in Adaway. All I can do is add hostnames to the whitelist.

@krlvm
Copy link
Owner

krlvm commented Feb 1, 2022

Do you use AdAway in VPN mode?

Screenshot_1643711482 (Среднее) Screenshot_1643711537 (Среднее)

@mirchisait
Copy link
Author

mirchisait commented Feb 1, 2022

I use Adaway in root mode with systemless hosts. 1.9.1 works without any issues with Adaway enabled.

@krlvm
Copy link
Owner

krlvm commented Feb 1, 2022

I don't think it is possible because all Internet traffic goes firstly to AdAway, then to PowerTunnel, then it returns to AdAway and so on ad infinitum :(

@krlvm krlvm closed this as completed Feb 1, 2022
@krlvm krlvm added question Further information is requested wontfix This will not be worked on labels Feb 1, 2022
@mirchisait
Copy link
Author

@krlvm I'm using a custom ad-blocking DNS now & it works flawlessly in ver 2.1, & this eliminates the need for using Adaway. Thank you for all your efforts.

@krlvm
Copy link
Owner

krlvm commented Feb 4, 2022

You can also use AdBlocker integrated in PowerTunnel with Firewall plugin - download *-Android.jar file from Releases and install it via plugin manager. Then you can open PowerTunnel settings and enable option at the bottom, which allows you to save configuration files in Documents directory - after that, run PowerTunnel once, open your File Manager and you will see "configs" directory in Documents/PowerTunnel, where firewall-hosts.txt located. After you fill the file, change filtration mode from Proxy to DNS in Firewall plugin settings and you will get the same effect without using another application.

@mirchisait
Copy link
Author

Hey @krlvm Is there a particular format & hosts type that needs to be entered in the firewall-hosts.txt? For example, if I want to use multiple hosts, should I enter the URLs in separate lines? Also, when I use this https://raw.githubusercontent.com/nickspaargaren/no-google/master/google-domains, nothing gets blocked. I'm a little confused here.

@krlvm
Copy link
Owner

krlvm commented Mar 1, 2022

Hey @krlvm Is there a particular format & hosts type that needs to be entered in the firewall-hosts.txt? For example, if I want to use multiple hosts, should I enter the URLs in separate lines? Also, when I use this https://raw.githubusercontent.com/nickspaargaren/no-google/master/google-domains, nothing gets blocked. I'm a little confused here.

Firewall plugin accepts something like:

google.com
github.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants