5 ms·
Syncthing Anywhere with Tailscale
- eterps 4y agoI guess for a single user this doesn't do much (other than redundancy)? As being offline for a while with Syncthing will just resync when back at home?
- jarym 4y ago> assuming I’m not interested yet in a commercial “Zero Trust Network” solution that maybe tunnels any TCP/UDP packets through a commercial reverse proxy because the packets are not end-to-end encrypted. This isn’t (always) true. Some solutions are E2E encrypted.
- zikduruqe 4y agoor stand up Headscale yourself. https://github.com/juanfont/headscale https://github.com/juanfont/headscale
- jacooper 4y agoSet up*
- adrianmonk 4y ago"Stand up" is jargon for creating an instance of a service and bringing it online. Among "stand"'s many meanings, it can be a transitive verb meaning to put something in a standing or upright position. For example, my electric toothbrush has a flat bottom, so I can lay it down on its side or stand it up on its end. So, basically "stand up" is a lot like "erect" as in "erect a fence along the property line".
- therein 4y agoBeen using it for at least 6-8 months. Works well everywhere, last I checked didn't work on iOS devices due to the Tailscale client not caring about the custom preferences loaded. Not a problem for me, the only Apple devices I have are not iOS but I'd imagine a dealbreaker for some.
- t0astbread 4y ago> Some solutions are E2E encrypted. Which ones do you mean? With Tailscale, the data channel runs over WireGuard, so it's encrypted between clients but the keys are exchanged over the control plane without end-to-end authentication, as far as I know. ZeroTier I don't know much about. Does it have some kind of end-to-end key? Nebula (from Slack) uses certificates, so it does make devices on the live network effectively trustless.
- jaden 4y agoI just recently tried using Tailscale IPs for all Syncthing nodes to add some privacy. It worked fine except for the Android phone, where Syncthing tried to start on the Tailscale static IP but hung because it wasn't available. That and having Tailscale use a significant amount of battery has convinced me to leave the Android connections dynamic.
- codethief 4y agoAh that's too bad. Running Syncthing over Tailscale would have been the main reason for me to install the latter.
- wanderingmind 4y agoI faced the same issue, especially with timeout error after providing the tailscale ip as "tcp://<ip4-address>:22000". I'm not sure how to resolve this and any help on this will be appreciated.
- jaden 4y agoI wish I could help you, but I couldn't get Syncthing to start up so I ended up clearing the app storage and set up the devices and folder shares again. It wasn't too bad. If you have a backup you could try restoring from that in settings. I tried changing the IP back in config.xml but I couldn't browse to the file location using my file browsing app and gave up.
- api 4y agoIsn't syncthing P2P all by itself? Why run it over something else? Is it encrypted or is its encryption suspect? I'm also not a huge fan of the "put thing A on top of general purpose thing that can host all things of the same class as A" trope. Tailscale gives you a virtual network so you can run absolutely anything that speaks IP over it. It's like "how to run (insert random Linux service) in Docker" and similar blogspam.
- proactivesvcs 4y agoYes, it's P2P by default. It's all TLS-encrypted and I've not come across anything suggesting syncthing's implementation is suspect, since most of it is just using Go's libraries. You can also run your own (private or public) discovery and/or relay servers. I agree that this is adding in two additional levels of complexity, including managing an online account which could be compromised, just to avoid exposing a single service to the Internet. At first glance this seems to be undermining the idea of keeping the network secure. One could even have the reverse proxy on port 80 forward requests to Syncthing on the inside.
- mleo 4y agoTo prevent any use of the relay servers and have them always connect. I disabled the relay on my syncthing services between laptop and work VMs. This means they only sync when the laptop is connected to VPN.
- nvrspyx 4y agoFrom the blog post: > Tailscale here is optional as Syncthing does the NAT traversal for you and also uses a secure protocol. Syncthing will do its best to establish a peer to peer connection and that’s great! > However, with Tailscale I can access my “shared directory” via SAMBA on my other devices, anywhere. And also don’t need any “Relay Server” only if my device can’t talk peer-to-peer as Tailscale will do it for me :))
- chrisweekly 4y ago"don't need any... only if.. can't" this is so hard to parse, could you rephrase for clarity?
- hrdwdmrbl 4y agoIf there was a company providing Syncthing-as-a-service I would very much sign up. I want the power of Syncthing (or similar) without the hassle of running a server myself.
- iansinnott 4y agoNot sure about syncthing, but you can get hosted nextcloud as a service which provdies many (all?) of the syncing beefits in my experience.
- memen 4y agoSyncthing does not require a server. Syncthing is itself the server. The application (on either platform you want) connects directly to another device (i.e. peer to peer or P2P) and sends/receives the folders and files as you setup. A syncthing server is used for discovery only, which is a free service.
- rsync 4y agoOk but each “peer” needs to have syncthing installed, correct ? That is, you can’t just point syncthing to any old sftp endpoint… I think your parent means “the commercial endpoint” when he says “server” …
- Macha 4y agoWhat is "the commercial endpoint"? There's no commercial offering of Syncthing. Every peer needs to have syncthing installed, yes. This is how syncthing works. It's P2P (though there is the public relay servers for NATed peers). Even if you ran your own relay network, every peer would need Syncthing installed. What some users might want is an always-on node, so that device A could push to that always-on node and then device B could later download it without requiring device A and device B to be online at the same time, but what that node is, is really just a device C that's always on. I think you're picturing Syncthing as being like a centralised file host that offers a client to sync to/from it, or maybe like something like Borg or restic. It's not that, there's no master node or central repo or anything.
- deleted 4y ago[deleted]
- game-of-throws 4y agohttps://web.archive.org/web/20220807141055/https://init8.lol/synthing-anywhere-with-tailscale/ https://web.archive.org/web/20220807141055/https://init8.lol...
- jbverschoor 4y agoNo sync you
- jacooper 4y agoIf only it was possible ot use Tailscale along normal Wireguard VPN. Because currently I stopped using Tailscale because I want to use ProtonVPN. Yes I know I can use an exit node, and connect the exit it self to Proton, but that adds amazing latency.
- ssklash 4y agoI switched to https://netbird.io/ https://netbird.io/ for this exact reason.
- atmosx 4y agoCan you elaborate? Netbird looks like an exact copy of Tailscale. What makes Netbird a good fit for working next to ProtonVPN?
- ssklash 4y agoIt allowed me to use a separate Wireguard tunnel with a VPN. I found that Tailscale wouldn't let me do that.
- jacooper 4y agoAny Details about how you did you do it ?, I used netbird before, but didn't know you can do that. Also did they support mobile recently? I thought they still don't have Android/iOS support ?
- solarkraft 4y agoNetbird is interesting! I only found out about them because their predecessor company made a cool SATA board for the Raspberry Pi 4. Their community seems to be very small; so could you give a short review of what's better/worse about it vs. Tailscale?
- nope96 4y ago> I somewhat don’t trust “cloud” providers and would avoid them as much as I can since my paranoid level is kinda high. Syncthing has a new untrusted feature, which sends encrypted blobs to the nodes you set as being "untrusted" (i.e. nodes in the cloud) Here's the specs on how it works: https://docs.syncthing.net/specs/untrusted.html https://docs.syncthing.net/specs/untrusted.html
- alphabettsy 4y agoThis works really well if you want to use a cheap VPS to ensure you always have a machine available to sync with/through.
- hank_z 4y agoIsn’t Tailscale similar to the Zerotier which can build a virtual LAN across any networks?
- t0astbread 4y agoSidenote: I find it interesting that Syncthing kind of implements a purpose-specific software defined network by itself with its discovery and relay protocols. I'm guessing that's because Syncthing has been around for longer than accessible SDN solutions have existed? Also makes me wonder how much Syncthing could be simplified if it could assume all devices have a fixed IP address and direct connectivity.
- yababa_y 4y agopretty much every p2p project ends up with a layer that does this to circumvent routing issues. what are the accessible SDN solutions you have in mind? for mina, i chose to use libp2p, although we haven’t enabled relay because the security and cost model is a bit scary. it will happen for the browser implementation i think.
- t0astbread 4y agoWhat I meant with "accessible SDN solutions" are things like Tailscale, ZeroTier, Nebula or one of those WireGuard key/route distribution servers which a few people have implemented in slightly different ways. (There used to be a good comparison of some of those but I can't find it anymore.) P2P programs where connections between devices with no common ownership/coordination don't matter (i.e. Syncthing if you're not sharing with other people) could ditch that layer and rely on an external SDN now that they've become easier to use. Of course, that makes those programs potentially less flexible and it requires users to set up another thing™ so I understand why developers of P2P programs might not wanna do that. But in theory it would be nice because we could have all SDN concerns in one system and not duplicated in every program that needs global discovery/connections.