I’ve got a server, a friends got a server, what’s the best way to share stuff between the two?

  • drkt@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    14 days ago

    Exposing it over HTTP ensures all can access, but that’s my best solution. I don’t know what your intentions are, or what your pain-points are, or what you’re willing to deal with, or what your data is and if it poses a risk to you personally to have it exposed.

  • JoeKrogan@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    13 days ago

    If you want a quick and easy way to share the odd file you could set up a syncthing shared folder and COPY things in to it that you want to share. When the other side MOVES them out of the shared folder they will be removed from the shared folder on your side.

    The advantage of this is security. No access is given to your system. If your friends box is compromised you dont have an nfs mount or ssh key on their machine. The worst that can be done to you is copies in the shared folder are removed or malicious files are placed in the shared folder but they wont be able to execute.

    You also dont need to open any ports for syncthing , it will use relays if it cant make a direct connection.

    • RamRabbit@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      13 days ago

      Yeah, forwarding a port to a server with SFTP allows you both to have two-way links. Have done this with some of my friends as well.

      Sneakernet via a HDD is also damn helpful for initial bulk transfers.

  • boletus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    13 days ago

    Sync thing has been great and convenient for me. Use tailscale, zero tier or just raw wire guard to see each other

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    13 days ago

    Just a feeling I get, but open directories and hoarders are going to become more popular.

  • Black616Angel@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    13 days ago

    You could also set up a jellyfin (for media) or gameyfin (for games) container, expose that to the internet and give them credentials.

  • Jo Miran@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    13 days ago

    For large volumes of data, nothing beats shipping a large external drive (with a fast interface) from location to location.

  • 7U5K3N@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    13 days ago

    You could set up a tunnel between the two… a job that rsyncs a folder to the other server automatically when something is added.

    Just a thought.