Tailscale being merely a wrapper around Wireguard, which is pretty close to optimally efficient, I don't think there's much of an improvement to be expected by rolling your own or hopping over your VPS. You should probably start with investigating what's causing the tailscale connection instability (is it your ISP? Is it the network on the side of the NAS?). If you are not bound to Borg, perhaps you can give a shot at Kopia, I found it to be much more performant for my use-cases, and it has a http "repository server" which you might be able to use with less protocols overhead than through your current setup.
post
Manually set up Wireguard, here.
The thing is, if you don't wish to port-forward on Legacy IP nor open firewall ports for IPv6, then the only other option is to reach out to some sort of relay server. But whether your own VPS fulfils that role or you use Tailscale's DERP/TURN relays, the same class of latency and bandwidth issues will still erupt. So you'd still have to debug them, although you presumably would have better visibility into diagnosing issues with your VPS relay.
Generally speaking, if Tailscale isn't working for you, then all other solutions will increase in complexity, not decrease.
Answering the ultimate question, I operate and secure my SSH server, with port 22 open only for IPv6 inbound. There's no NAT, so I don't have to deal with debugging odd port mangling. The SSH server only allows key auth, and all password attempts are logged and blocked, because there can't be any legitimate traffic like that. On this SSH server would be my mounts for backups.
Mhh, you are probably right. I'm really hesitant to invest more time into troubleshooting tailscale. My own tailscale connections at home are stable, and for troubleshooting at my family member I always have to drive and setup my notebook there.
Maybe I could try to setup wireguard directly in the fritzbox router at my family member. That might need less maintenance as running tailscale in a docker container, as it would remove the wireguard connection out of the NAS itself.
Opening a port directly gives me kind of an ick, because I don't want to fiddle too much with the family members network. If something happens with it, I will be the one troubleshooting it, and I don't need more work currently.
Cloudfare tunnels with Synology are well documented.
Personally for me, the spirit of self-hosting is incompatible with using Cloudflare and Synology services, but I understand that less technical users may prefer commercial services.
all 18 comments