I have a Samba mount at home (behind NAT, accessible via wireguard VPN), which works very well when accessing my home files when traveling (I travel a lot for work).

The only detail missing from this solution is sharing individual files with friends. I could give them access to my VPN, but that gives them access to everything, not just one thing I want to share. Also not all my friends are that tech savvy to manage connecting to a VPN.

What would be really great is to have a link-generator that punches a hole in the NAT to give them access to specific files. Are there any self-hosted solutions for that?

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    6
    ·
    12 hours ago

    Copyparty is easy, but if you can both set up syncthing, that makes it a breeze. I have a sibling that lives across the Pacific and last time they visited I set up syncthing on their laptop and when either of us wants to share something, we just drop it in that folder and wait a minute or two.

  • Prunebutt@slrpnk.net
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    19 hours ago

    Do you have a public-facing internet-presence? If so, then I’ve heard good things about copyparty.

    I’m using Nextcloud for this, but that seems a bit overkill for your usecase.

    Edit: they explain how to use a cloudflare tunnel, so no public IP needed, actually.

      • Prunebutt@slrpnk.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 hours ago

        I’m not sure if I’m using all of those 100% correctly (e.g. “Public facing”). But either use a search engine, or just ask.

        What terms do you have in mind that you want to learn about?

        • bridgeenjoyer@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 hours ago

          Sorry I meant more what’s in that git summary,

          Portable file server with accelerated resumable uploads, dedup, WebDAV, FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file, no deps

          I know FTP but the rest I dont really understand. Im often confused by stuff on git.

          • AllHailTheSheep@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 hour ago

            I haven’t looked at that GitHub but I’m familiar with most of the terms so here goes (verify them if you wish, I can’t promise full accuracy).

            portable file server with accelerated resumable uploads: portable most likely means it’s easy to transfer from one server to another should you ever upgrade servers or anything else. resumable means you can pause the transfers if you desire.

            dedup: it will automatically deduplicate files. so if you upload the same file twice it will just use the one you previously uploaded, saving space.

            webdav is for distributed authoring and versioning. I don’t know a crazy amount about it but assume it means there’s some code in place that aids with collaboration as far as sending a file, working on it, and reuploading goes.

            ftp: file transfer protocol.

            tftp: trivial file transfer protocol. good for small things but iirc it’s not inherently secure

            zerconf: plug and play. no messing with configs needed.

            media indexer/all in one file: most likely indexes media uploaded and stores the generated thumbnails in one big file. most likely this is so it’ll be easier to transfer the install to another server if needed (you can move one big file containing all the thumbnails instead of a bunch of tiny ones).

            no deps: no dependencies, everything you need is self contained in that repo.

            again, double check things your curious about but that’s my interpretation of what most would agree is kind of just a keyword filled description lol

      • gedaliyah@lemmy.world
        link
        fedilink
        English
        arrow-up
        19
        ·
        14 hours ago

        Having come from zero knowledge, to now self-hosting for over a year, I can tell you that you just search for them one at a time. Sometimes they will make sense. Sometimes not yet.

        Stick around here, ask questions, and look things up.

  • lambalicious@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    15 hours ago

    Any particular reason why you can’t do something like host a Send instance instead? Better to treat “filesystem behind the network” and “files to share” as two different things: one is imanent, the other is punctual and sporadic.

  • e0qdk@reddthat.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    21 hours ago

    Just run a web server and expose the specific files you want to share through that?

  • n4sdaq@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    19 hours ago

    Do you have a domain? If you do, maybe try Nginx Proxy Manager and SFTPGo. I previously used File Browser but the developers made some fairly large breaking changes and I never went back. SFTPGo lets you add accounts easily and I have specific folder setup for sharing with friends. It has a clean interface too. If you don’t have a domain, maybe try Tailscale?

      • q7mJI7tk1@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        I had Nextcloud running for several years (VM is the best way IMO, I would avoid the Docker AIO). However I found Filebrowser and it rocks as a file share service. Filebrowser Quantum is a fork with more feature as the original no longer has a maintainer. The most I’ve had someone upload to it was 300GB.