I’ve just recently discovered Tailscale (www.tailscale.com) - a Wireguard-based VPN which is pretty cool, and I’m trying to see whether Syncthing will work with it.
My current Syncthing setup is pretty simple - only 2 devices, which I currently have setup to sync only over LAN (local discovery only). What I’m trying to do is get Syncthing to connect these devices over the internet via the Tailscale tunnel rather than directly over the internet “proper”, but I can’t seem to make it work.
Any ideas on how to do this?
Many VPN types are not well attuned to our multicast/broadcast based discovery. You may need to hardcode IP addresses.
I tried that but it also didn’t work, likely because I wasn’t doing it correctly. What’s the right way to do that?
Set a device address to
tcp://192.0.2.42:22000 or whatever are the correct numbers.
That’s what I tried, but the devices weren’t connecting for some reason.
You should try to figure out what that reason is. It’s just packets as far as Syncthing is concerned.
When I add an IP address manually in settings, from the logs it is trying to connect but gives the error: “bind: can’t assign requested address”
Tailscale gives devices 100.x.x.x addresses, could that be the issue? https://tailscale.com/kb/1015/100.x-addresses
It sounds like you entered the address as the listen address, not the remote device address.
Yep that was it - got it working now, thanks for your help!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.