13

I already have my keepassxc and syncthing setup on my phone and computers and it's great, I'd like to go a step further and have my password database sync when I'm not on my home network. From my understanding I can use relays set up by other users and they are encrypted, but if I do not trust syncing personal (encrypted) data to someone else's server how easy is it to set up a relay that only I use? I won't be using Bitwarden because in theory if I can pull this off I can also use syncthing to sync other files as well. Is setting up a personal relay a lot of work or a potential security risk for my home network?

you are viewing a single comment's thread
view the rest of the comments
[-] kugmo@sh.itjust.works 1 points 2 years ago

At my house, I'm already using a dynamic dns for some game servers because of a dynamic ip.

[-] TCB13@lemmy.world 5 points 2 years ago* (last edited 2 years ago)

If you can create a port forward in your router and run stuff at your house what's the point of a relay then? Just expose the ports that Syncthing uses and configure your client to connect to it using your dynamic DNS. No public or private relays are required.

  1. Port forward the following in your router to the local Syncthing host, any client will be able to connect to it directly:
  • Port 22000/TCP: TCP based sync protocol traffic
  • Port 22000/UDP: QUIC based sync protocol traffic
  1. Go into the client and edit the home device. Set it to connect using the dynamic DNS directly:

For extra security you may change the Syncthing port, or run the entire thing over a Wireguard VPN like I also do.

Note that even without the VPN all traffic is TLS protected.

this post was submitted on 11 Mar 2024
13 points (78.3% liked)

Selfhosted

61877 readers
798 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS