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

  • JoeKrogan@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 hour 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.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

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

  • boletus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 hours ago

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

    • 48954246@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      7 hours ago

      Absolutely this OP. Have a quick watch of the feature showcase video and you will see just how perfect this is for your needs

  • Onomatopoeia@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    Define share?

    Keep all files in sync between two points?

    Enable ad-hoc access to all files, or a subset?

  • Cousin Mose@lemmy.hogru.ch
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    16 hours ago

    Surprised no one just said Samba or NFS over a tunnel (Tailscale, WireGuard, etc).

    Or by “sharing” do you mean keeping files synced between the two for replication?

    • AuroraZzz@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      8 hours ago

      Using a tunnel is definitely the way to go and very easy to set up. Please don’t share over https if you don’t know what you are doing

  • drkt@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    18 hours 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.