How to configure private relay on client side?

I believe I understood how to set up a private relay server but I haven’t been able to figure out how to configure my clients to use only that server. I found some references that I could simply set the relay server in Settings but I am not seeing any suitable option there. The only setting that seems to relate is “Enable Relaying” and that is simply a checkbox. Also in ~/.config/syncthing/config.xml I only found options to configure relaysEnabled and relayReconnectIntervalM. I am running Syncthing version 0.14.7. Am I overlooking something obvious?

No, this is horribly documented. It should be mentioned on https://docs.syncthing.net/users/relaying.html or https://docs.syncthing.net/users/strelaysrv.html but it isn’t.

What you do is that you add it to the sync protocol listen addresses, in the settings dialog. The format is the following, with the IP, port and device ID being the ones for the relay (relaysrv reports the device ID on startup):

relay://10.20.30.40:22067/?id=ITZRNXE-YNROGBZ-HXTH5P7-VK5NYE5-QHRQGE2-7JQ6VNJ-KZUEDIU-5PPR5AM

3 Likes

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