Syncthing-fork over OpenVPN and xiaomi.eu

Hello everyone.

I’v been dealing with the impossibility of running Syncthing-fork over OpenVPN. The details are here:

Following up that issue, I tested Syncthing-fork over OpenVPN in the described conditions in a different Android setup in a revived old phone (LineageOS 18 - Android 11, with MicroG) and it worked fine.

So, I now blame my actual Android OS: Android 10, xiaomi.eu.

Has anybody had issues related to xiaomi ROMs, in particular xiaomi.eu ROMs?

Thanks, and special thanks to Catfriend for his work and for guiding me to isolating this problem. (I may be going back to Lineage in the near future…)

1 Like

Does your setup rely on local discovery or nat pmp?

Local discovery is on. No nat or global discovery. The OpenVPN lan has just two entities, the server and the client.

The addresses and port of client and server are manualy configured in the server and the client. Something like this:

In the OpenVPN server side (Windows): “tcp4://x.y.z.client:port, dynamic”

In the OpenVPN client side (Android): “tcp4://x.y.z.server:port, dynamic”

In discontinued syncthing with only “dynamic” in the server side, it works.

Local discovery will be fixed in a future release; but setting direct ip:port should be fine as you have it.

As a general debugging measure you could try to set up a different vpn. I’m running syncthing over Wireguard between my phone and my server and laptop. At least that could tell you if the issue is specific to OpenVPN or not.

1 Like

I’m happy to report that after reinstalling Android OS (same OS but this time google services replaced with microG), version 1.30.0.1 works fine over openvpn.

No idea what the problem could have been, but it is solved.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.