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?
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.
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
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.