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

Always-on VPN blocking LAN traffic (Localsend, FTP) #5554

Open
3 tasks done
Ali13798 opened this issue Dec 20, 2024 · 1 comment
Open
3 tasks done

Always-on VPN blocking LAN traffic (Localsend, FTP) #5554

Ali13798 opened this issue Dec 20, 2024 · 1 comment

Comments

@Ali13798
Copy link

Ali13798 commented Dec 20, 2024

Please answer the following questions for yourself before submitting a question.

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

Ask a question

Hey all, I have been experimenting with the Adguard app on android 14, with both the "Always-on VPN" and "Block connections without VPN" toggles turned on (under android settings > Network > VPN > AdGuard). I am trying to get FTP access or Localsend working over LAN but I am having no luck with that. I have managed to get the Adguard VPN working with this setup, so I am hoping that this is doable in the first place, and if anyone know the solution or of a good debugging technique that would be great.

As it relates to Localsend, I can send text or files from the phone to other devices fine, but receiving anything (text or file) is blocked. When I start an FTP server on the phone to access its files from another device, the connection is again blocked. Note that things function just fine if the "Block connections without VPN" is toggled off, but I am looking for a way to keep that on and essentially have Adguard accept the traffic and pass it through (preferably not even filtered for ads, etc. since this type of traffic is trusted by me).

I have tried the following so far (LAN IP 10.0.0.0/24):

Low level settings

Protection

  • IPv4 ranges excluded from filtering - empty and 10.0.0/24
  • Port ranges to be filtered - 1..65535
  • Excluded apps - all commented out

Local VPN settings

  • IPv4 address - 172.18.011.218
  • Forcibly route LAN IPv4 - checked and unchecked
  • Route all LAN IPv4 connections - checked and unchecked

App management settings

  • Route traffic through Adguard - checked
  • Filter traffic - checked and unchecked

If I am missing anything do not hesitate to let me know. Thanks for your time.

@Versty
Copy link
Contributor

Versty commented Dec 28, 2024

@Ali13798 Some of the LAN traffic is clearly not routed through AdGuard. When you enable the "Block connections without VPN" option Android OS restricts all connections except those routed through AdGuard.

So the main goal is to find where traffic is bypassing AdGuard and redirect it to the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants