Syncthing
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
You can use syncthing to transfer files across the internet? How? I thought it was only for local networks
By default out of the box it will transfer over the internet if it needs to.
It just works, there's no "how". Take one of the devices outside, connect to the internet, done.
RFC 2549: https://www.rfc-editor.org/rfc/rfc2549
This problem was solved years ago: https://spectrum.ieee.org/pigeonbased-feathernet-still-wingsdown-fastest-way-of-transferring-lots-of-data
You could try wormhole. It makes a direct connection.
Super easy. Spin up an OpenVPN server, forwarding the right ports to your server. Now spin up an Apache server with the folder your file’s in as server root. Send the client config for your VPN to your friend, along with the local address of your HTTP server. Now they can install the OpenVPN client on their PC and download the file from your HTTP server. Once you’re done, tear down all your servers, and don’t forget to unforward the ports. Couldn’t be easier.
/s
I have non-ironically gotten responses like this
Okay can you explain why thats a sarcastic answer? Is one of those first three steps way harder than I think it is?
Cause that’s not simple or easy at all. It takes a fair bit of knowledge to set up all of these things.
openvpn and apache can be very time consuming to set up if you do it for the first time
Before I moved I used to use my web server.
My Domain . Com / files . Zip And I would set a password on the zip. After they download it, they tell me and I remove the file.
My largest file transfer I have done via USB disk. You simply don't transfer multiple terabytes over the net.
I’d have to have friends across the internet that wanted files first…
I've used:
But for slower connections bittorrent is the best option by far because it doesn't care about interruptions, and verifies the data as it goes. Just gotta make sure you're port forwarding the client.
Me and my friend used netcat to transfer 30 GB of files put into a zip. Very fun, would not recommend
Friends I know IRL: Thumbdrives.
Friends I only know via the Internet: Torrents or IRC filesharing.
Though knowing that a homing pigeon with a thumb drive is actually faster than the fastest Internet network on the planet, maybe I should simply invest in a coop and some pigeons. 🤔
Though knowing that a homing pigeon with a thumb drive is actually faster than the fastest Internet network on the planet
Depends on how big the flash drive is, I suppose. Need to send a 1GB file? Just make a torrent. Need to send 40TB? Yeah, that hard drive is getting driven across town.
Perhaps two pigeons could carry the hard drive on a string. I've heard tell of swallows that have done this with coconuts.
Create share links allowing anyone with the link (+ optional password) to browse and download individual files, or whole folder contents.
If someone needs to send me a file, I can create a user for them in a few seconds; so they can upload to that as well.
If they are local, you can just put it on a thumb drive and physically transfer it.
I'd go for syncthing over nextcloud for your specific usecase. Nextcloud isn't good for unreliable connections and they're sticking with the annoying decision of not supporting server to server synchronization.
I literally just set up a container for Erugo for this exact thing. It worked perfectly and was super easy to do. It's just a self-hosted version of wetransfer. Could be helpful...
My use case is a bit different than yours but still worth mentioning, I think; I have Sharry running in Docker and it makes sharing and receiving files super easy. All downloads and uploads are resumable so they work well even in unstable networks.
Nextcloud is great for this
If its a file from my seedbox: Direct share link (optional pw)
Local file: OneDrive
I used vaultwarden just the other day for this purpose. I mean, I use vaultwarden daily as a password manager, but it also has secure file transfer.
I have a minio instance that I use to distribute files