To sync my files between devices, I use Synthing 1.19.2 [ST].
One on my Laptop(QOS) debian 12 as well on Desktop(QOS) debian 12 and one in Android Device (fork).
All my computers and telephone are connected by cable to one router with OpenWRT
Telephone is connected by wifi 5GHz to the same router.
Router further is connected to my Modem from ISP.
When using S.T. I get used to uploads going max 2Mbps between pc and my telephone.
One time I when running Linux live Environment with S.T. and I was surprised that up/dl was around ~90Mbps, but on Qubes I never saw this high numbers.
When higher speed was achieved laptop with Live System was connected by cable and telephone using WiFi 5GHz
What I have to do, to get that kind of speed ?
the “problem” is that syncthing is using auto discovery on the LAN to find syncthing instances when looking for the IP, if it doesn’t find, it will relay through the Internet.
There are 2 solutions:
in syncthing on qubes os, configure the phone peer and put its LAN IP address, so qubes os will be able to connect to syncthing on the phone directly
run an open relay on your lan and configure both syncthing to use this relay (it’s actually valuable in some cases, but not really for 2 peers)
In the syncthing UI you can see how the devices are connected. I recommend to have a third device in your home network with open ports and just run everything through it. You don’t necessarily need a own relay. Just don’t forget to configure the firewall correctly:
Yeah I think there is no way to externally access anything on android (without root)? So why should your PC be able to connect to syncthing on android?
For me it’s always the other way around. (Type the IP of the PC into the phone)
another computer without qubes os (with synching installed, You can specify this as an untrused device so everything it receives is encrypted) https://docs.syncthing.net/users/untrusted.html
Or if you don’t want to do that you have to open ports on qubes os itself:
It’s not going to be painless, if it’s you first time. I recommend watching some Youtube videos or written guides for it. They often account well for noobs.
You will have a much better time if you only open the ports on a third non Qubes Linux box (even a pi would be good enough)
If its fine for everybody, I would like to write small instruction in my original post, for those with same issue as me.
How I did it ?
First Get your IP of Android
in my case Pixel 6a with GrapheneOS.
In phone Settings>Network&internet>Internet(WiFi) find your wireless network.
look for Settings Icon, next to name of your network.
Inside Look for “IP Address” and write it down (mine is 192.168.1.56)
Get your IP On Qubes
Network Icon>Right click>Connection Information
Look for “IP Address” and write it down (mine is 192.168.1.209)
Syncthing on PC .
Remote Devices:
{your-device-name}>Edit>Advanced Tab
In Addresses field, removed name “dynamic” and put your android IP tcp://192.168.1.56
Syncthing on Android
Tab Devices>{your-device-name}>find field from the top with written “dynamic” inside remove
and put instead Qubes IP tcp://192.168.1.209
There is no firewall on android, if something is listening on the network, it’s opened.
For syncthing, you just need one peer able to connect to the other, this is why you don’t need to open ports on Qubes OS, this is because Qubes OS firewall is stateful, so the initiated connection from qubes os to android allows the data to come back.
Guess I was mistaken. Tried to search for something that gives info’s on this but only found ancient posts with contradicting information … Can’t find anything that actually tells how and if firewalls are a thing in android.
Are these “open ports” accessible from the internet or just the local network?
I think I will experiment a little bit with this and scan my phone.