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

Android Kill Switch Not Working #508

Open
2 of 3 tasks
znaf37g opened this issue Dec 10, 2024 · 0 comments
Open
2 of 3 tasks

Android Kill Switch Not Working #508

znaf37g opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working Priority: P4

Comments

@znaf37g
Copy link

znaf37g commented Dec 10, 2024

Please answer the following questions for yourself before submitting an issue.

  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard VPN version

2.10.145

Operating mode

Integration with AdGuard

Which DNS server do you use?

AdGuard DNS

DNS protocol

DNS-over-HTTPS

Custom DNS

No response

Environment

- OS: Android 14
- Device: OnePlus Nord 4

Root access

  • yes, I have it

Issue Details

Steps to reproduce:

  1. Install and enable AdGuard Android App and Set to Integrated Mode
  2. Install AdGuard VPN and connect to any server
  3. Enable "Always On VPN" and "Block All Connections Not Using VPN" in Android Settings

Expected Behavior

Enables Kill Switch functionality, blocking access to the internet when VPN connection drops

Actual Behavior

AdGuard VPN is unable to connect with an error saying "Network is unavailable. Please connect to the network"

Screenshots

Screenshot 1

Additional Information

Originally I tried following the most logical pattern as described "Issue Details" section, meaning I tried enabling AdGuard app, AdGuard VPN, turning on intergrated mode and then Kill Switch via Android settings, as in-app Kill Switch didnt seem to work because of the "You need to enable AdGuard VPN at least once for Kill Switch to start working" prompt

Then I went on to research the issues, the stumbled across this issue

And later went on to additionally try solution described in this comment in the same thread

Neither of which worked; AdGuard VPN is still unable to connect to the server unless kill switch is disabled via android settings. Furthermore, AdGuard app now near instantly crashes upon launch, unless I disable protection all together.

Particularly this part of the original instructions never seemed to work, as I would always get an error "Unable to connect to proxy over TCP"

In the AdGuard app: use AdGuard VPN's SOCKS proxy

Go to settings -> network -> proxy.
Add a new Proxy there, choose "SOCKS5", set proxy host to 127.0.0.1 and proxy port to 1080.
Save it and enable the "Proxy" module.

Can you provide instructions how to set up AdGuard + AdGuard VPN to properly work together with Kill Switch enabled?

@znaf37g znaf37g added the Bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Priority: P4
Projects
None yet
Development

No branches or pull requests

3 participants