53

Hello to all passionate selfhosting enthusiasts! Today, however, I have to ask you about a problem that can't be fully solved by a selfhosted solution. But I believe it's still closely related to selfhosting.

I'd like to automate mirroring some files/catalogues to different storage providers and then obtain public sharing links for each of them. So I'm looking at Rclone. It supports a variety of different storage providers, which is nice. But is there any structured information about which of them support sharing files via public links? There are just too many of them to quickly check them all.

So if there is no such data, I'll probably also slowly try them out on my own to see which ones are suited for me, and post the results in the comments if you don't mind! Maybe.

Well, ideally I'd certainly like to share these files with a selfhosted solution without relying on any 3rdparty «cloud» storage, but that's not possible without either TLD and public IP or additional software besides web browser on the client side, right? So I'm looking for a somewhat pragmatic solution for now.

Also, maybe you have some useful tips on configuring Rclone for this task in general? I'm considering using union feature with create_policy = all to upload to several storages simultaneously, but is it possible to get public links in this setup?

you are viewing a single comment's thread
view the rest of the comments
[-] bigmclargehuge@lemmy.zip 18 points 2 weeks ago
[-] Hinori@scribe.disroot.org 3 points 2 weeks ago

I know, right? But it requires a valid TLD and a public IP, so this is not an option, unfortunately.

[-] benno@sh.itjust.works 13 points 2 weeks ago

you can serve anything through a cloudflare tunnel without public IP

[-] Hinori@scribe.disroot.org 5 points 2 weeks ago

Interesting... I didn't even think it could be used that way! So I might as well consider this option for real. Can it be used with a dynamic dns TLD?

Don't feel brave enough to selfhost a public-facing service, though...

[-] bigmclargehuge@lemmy.zip 8 points 2 weeks ago

Yea it’s called zero trust on cloudflare. Allows you to expose a service (ip : port) on your WAN on the net via a TLD with zero trust running. It’s a sort of tunnel, and because the ip address is cloudflare it obfuscates your ip. You can’t get exposed via dns a records. You can add restrictions too. I always do geo based and only let connections local to me in.

[-] flightyhobler@lemmy.world 1 points 2 weeks ago

Can you do this without a domain?

[-] purplemonkeymad@programming.dev 3 points 2 weeks ago

No. Need a domain to assign the endpoint to a subdomain. Cloudflare do have at cost domains so you can get them cheap and consider it the cost of the service.

[-] bigmclargehuge@lemmy.zip 1 points 2 weeks ago

No. Just buy an xyz domain. They’re like 1.99

[-] flightyhobler@lemmy.world 1 points 2 weeks ago

Also for the second and following years?

[-] bigmclargehuge@lemmy.zip 1 points 1 week ago

Yes xyz is super cheap

[-] flightyhobler@lemmy.world 1 points 1 week ago

15$ is the cheapest I can find for XYZ. But no worried.

[-] bigmclargehuge@lemmy.zip 1 points 1 week ago
[-] flightyhobler@lemmy.world 1 points 1 week ago* (last edited 1 week ago)
[-] bigmclargehuge@lemmy.zip 1 points 1 week ago

lol, what maniacal registry is that ?

[-] flightyhobler@lemmy.world 1 points 1 week ago

Did I use the wrong one?

[-] NinjaTurtle@feddit.online 7 points 2 weeks ago* (last edited 2 weeks ago)

There is also Netbird reverse proxy. Which is similar to cloudflare tunnel but wireguard tunnels instead. There are videos on making links available only, via Netbird (https://www.youtube.com/watch?v=HoaLRuIdiNU)

[-] SirHaxalot@nord.pub 6 points 2 weeks ago* (last edited 2 weeks ago)

Yeah, if you are going to self host something like this you are going to need to be able to accept connections from people one way or another. Possibly a VPN solution like Netbird or Tailscale could work, but then all your users would need to have an additional client which is probably going to be a hassle.

Realistically you may want to look into S3 providers, and if they support public pre-sig link, which is most likely what recline link uses. Basically the S3 API allows authenticating with a signature as a part of the URL that are scoped to a specific object and optionally expires.

Edit: An option could be to use a small VPS as entrapping and setup a VPN to it, or something like Cloudflare tunnels

[-] Hinori@scribe.disroot.org 1 points 1 week ago

Basically the S3 API allows authenticating with a signature as a part of the URL that are scoped to a specific object and optionally expires.

I see, like that, right? But it says expiration is rather mandatory than optional, and these pre-signed links lasts no longer than 7 days! Or is it just an Amazon's own limitation, and other S3-compatible providers might provide unlimited expiration time?

[-] cthulhupunk0@lemmy.ml 5 points 2 weeks ago

Check out using ddns. It's not perfect, but works. There are updater containers you can run. NoIP used to have freebie domains, I bought a domain a while back, then switched to cloudflare for convenience despite it being cloudflare (you can leave tell them not to use their proxy for individual sub-domains). Bonus points for using something like nginx proxy manager or cert-manager to handle acme LetsEncrypt certs, because unencrypted http is BAD.

[-] Hinori@scribe.disroot.org 3 points 2 weeks ago* (last edited 2 weeks ago)

And... how to obtain a public IP, then?

because unencrypted http is BAD.

Sorry, I don't enjoy such blatant wordings at all. I prefer to say «supports delivering content unmodified solely by a lucky chance» :D

Edit: now, after reading @benno@sh.itjust.works's and @bigmclargehuge@lemmy.zip's comments, I realized that Cloudflare tunnel could be used for reverse-proxying traffic to the local daemons! You know, when you think about Cloudflare, you genuinely feels nothing but repulsion after all that endless browser check pages, and don't even consider it as something useful. So for now, I'm trying to wrap my head around all of this to ask a meaningful question. So it's not over yet!

[-] non_burglar@lemmy.world 1 points 2 weeks ago

You are always behind a public IP, a dynamic DNS and domain help identify what that is to others without making manual changes every time your public IP changes.

[-] horus_son_of_isis@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

This is probably a terrible idea, but I have api sites set up with cloudflared for when I want to share something with someone, like if I want to share a file through gokapi or filbrowser, or share a jellyfin access. Cloudflare access is set to bypass except for country restrictions. Anything access I grant or share is behind at least a password, and share links are only for a couple of hours or days, then they disappear.

All of my other services are restricted to me through cloudflare access, oauth, and the builtin user/pass access for each service.

[-] brem@feddit.org 1 points 2 weeks ago

Look at yggdrasil for ip address as well as end to end encryption

https://yggdrasil-network.github.io/

[-] Hinori@scribe.disroot.org 2 points 1 week ago

I know Yggdrasil, it's pretty cool! But if I'm about to ask my audience to install some additional software, I'd rather prefer ZeroNet, as it provides built-in P2P redundancy and doesn't even depend on my host being alive. So it likely fits better with my initial idea. Although I really don't have confidence to ask for this, unless this hypothetical software is purposefully tailored to my use case. And for now, It doesn't exist (yet?).

this post was submitted on 08 Nov 2026
53 points (98.2% liked)

Selfhosted

63989 readers
1650 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