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?

    • deltapi@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      100% this. I have one running in a lxc, and I expose it to the world through a CloudFlare tunnel so I needn’t worry about dyndns or people probing my public IP.

      • LordCrom@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Mind if u ask how much that cloudflare front end costs you a month for how many hits?

        • deltapi@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          I’m on their free tier. If you don’t have a domain you need to get one, but CloudFlare does offer domain registration basically at-cost.
          Because I’m on free, I can’t break down my analytics like a paid account can. i can say though that for the past 30 days my account has generated 886k requests and 47.56GB of bandwidth. I can’t tell you how much of that is nextcloud and how much is other stuff, like audiobookshelf, but hopefully this helps answer you.

  • AbidanYre@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    There are a few implementations of wormhole that might work.

    If you’re ok with exposing a server to the internet, I’ve had good luck with sharry. https://eikek.github.io/sharry/

    I’ve also had good luck running a Nextcloud instance to share with friends and family. But that is probably overkill here.

      • Manodor@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Yes. Both parties have to share the device on which they want to run warpinator out to the tailnet of the other person. If you already use tailscale for other personal stuff I’d recommend you make an additional tailscale account, you can use to connect to other peoples tailnets, as on linux you can simply switch between them with ‘tailscale switch <id>’

      • q7mJI7tk1@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months 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.

  • yaroto98@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    I use Pingvin. You upload a file to it and it generates a link. Has expiration on the link.

    You can allow anonymous uploads or not, give friends logins etc.

    I have it locked down to just me with a login and I use it to let others download the files.

  • lambalicious@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months 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.

  • paf@jlai.lu
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    I can’t remember any name but search for f2f (friend to friend) p2p. Basically a private way to share files over p2p to limited people you have accepted without any use of tracker like P2P use

  • OldQWERTYbastard@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    3
    ·
    5 months ago

    I haven’t bothered to set up anything that complex, but mega.nz gives you an encrypted 50GB of free space. I’m not crazy about supporting Kim Dotcom’s crazy ass, but it periodically solves problems for me.

    I was also a founding member of box.com so there’s another free 50.