Total noob, but I set up TrueNAS/Nextcloud on an old laptop and it’s working great locally.
What would be the easiest secure way to access my files remotely from my phone and/or laptop?
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:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Tailscale. Download it and you’ll be up and running in 5 minutes. Don’t use cloudflare tunnels unless you plan on opening it up to the public. Then you can go that route.
For restricted access, I add a Cloudflare Application in front of the Tunnel to provide authentication. Work’s like a charm, and the user never hits my services unless they successfully authenticate.
Yes I do that too with email authentication. But if he is using a personal server with no users then there is no need for that.
True, but then Tailscale needs to be installed on the remote device to connect. A Cloudflare Tunnel and Application can be accessed by pretty much any device. This was more appropriate for my use case. YMMV, of course.
For me it’s all about use case.
I use cloudflare tunnels for programs exposed to the open web (Nextcloud, Radicale, etc).
But I use tailscale for anything not, then I use tailscale (RD client, KDE Connect, Sonarr, etc) because it’s way too simple.
Hey, I’m testing it and I have it installed on my phone/PC/TrueNAS but having trouble getting access remotely (testing on data).
I think I have the part “Advertise Routes” wrong, how to I know what IP to put in exactly
You put the ip address that tailscale gives you along with the port number of your NextCloud instance.
Is the port number the 4 numbers after the : which I use as a url to access Nextclouds web gui?
Also that means I should be adding two routes?
Yes the port number is the last 4 digits after the :.
Tailscaleip:nextcloudport
Sorry for the questions, how do I know which Tailnet IP to use? Each device seems to get a different address and a I tested a couple and neither worked
A tutorial I watched used 192.168.3.0/24. I tested this and it didn’t give me any errors and it connected to tailscale, but I couldn’t actually access things remotely
You use the tailscale ip address of whatever device your hosting NextCloud from
Second on that. The whole “it just works” slogan was frustrating when it didn’t work at first, but once it finally for running it was great
What exact route did u advertise? I’m having trouble getting it working
Trust me, you don’t want to get instructions from me. Just look at my post/comment history haha everything I touch breaks in ways that are hard to diagnose. I had to reach out to tech support, they got back to me in <12hrs
Haha okay fair enough np