syncthing-android icon indicating copy to clipboard operation
syncthing-android copied to clipboard

When on VPN, Syncthing reports being on a metered wifi

Open dead10ck opened this issue 3 years ago • 8 comments

I always have my Android device connected to IVPN. It seems after the most recent update to 1.10.0, I started noticing that it was not running because it thinks my home wifi connection is metered. When I disconnect from my VPN, it works.

Version Information

App Version: 1.10.0
Syncthing Version: v1.10.0
Android Version: OxygenOS 10.0.12.HD65AA

dead10ck avatar Oct 20 '20 13:10 dead10ck

I'm seeing the same thing on syncthing v1.11.1. Maybe a potential solution would be for the "Run on specified Wi-Fi networks" option to override the "Run on metered Wi-Fi" setting if a wifi network is enabled in the former option but the latter option is disabled?

jm355 avatar Dec 09 '20 01:12 jm355

I have same issue Pixel 5 with v1.10.0 (latest I see on play store), and @jeremiah-miller your proposed solution did work for me, thanks!

leictreon avatar Dec 18 '20 00:12 leictreon

Nokia 4.2, Android One 10, Syncthing 1.13.0, "VPN" created with https://play.google.com/store/apps/details?id=com.burakgon.dnschanger does the same, but the "VPN" created with https://play.google.com/store/apps/details?id=eu.faircode.netguard doesn't.

I'm seeing the same thing on syncthing v1.11.1. Maybe a potential solution would be for the "Run on specified Wi-Fi networks" option to override the "Run on metered Wi-Fi" setting if a wifi network is enabled in the former option but the latter option is disabled?

Should been like that already.

rautamiekka avatar Feb 11 '21 00:02 rautamiekka

I am also having this issue when connected to a custom VPN made with the ZeroTier app. Any Wi-Fi network triggers the "metered" Syncthing condition when the VPN is enabled. No internet traffic goes through the VPN so it is theoretically irrelevant.

Syncthing Version: 1.9.0 Syncthing-Android Version: 1.9.0

DeathByNukes avatar Apr 07 '21 14:04 DeathByNukes

Android 11 / LineageOS 18.1 Synthing 1.18.0

Same problem here.

I use blokada which makes a localhost vpn to act as a rootless adware blocker. Syncthing say my wifi is metered. I even declared it as "not metered" in the wifi settings without success.

MartinX3 avatar Jul 19 '21 09:07 MartinX3

@DeathByNukes did you solve this?

I want to be able to run Syncthing when on my Zerotier Network, as I use this to remote into my home network...

GregHilston avatar Oct 25 '21 02:10 GregHilston

There is a good chance that this requires changes on the VPN provider/app side only. RethinkDNS caused the same issues originally, then they went away with an update.

cobratbq avatar Oct 30 '21 18:10 cobratbq

@GregHilston No I haven't, I keep the VPN turned off when I don't need it and let Syncthing use its built-in NAT traversal for now.

@cobratbq Yes it's possible that the VPN app is doing something wrong, but I think Syncthing should be able to configure exceptions for such VPNs if possible since this isn't an issue specific to only one VPN app.

DeathByNukes avatar Nov 27 '21 16:11 DeathByNukes