15

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?

you are viewing a single comment's thread
view the rest of the comments
[-] techgearwhips@lemmy.world 6 points 1 year ago

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.

[-] NENathaniel@lemmy.ca 1 points 1 year ago

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

[-] techgearwhips@lemmy.world 1 points 1 year ago

You put the ip address that tailscale gives you along with the port number of your NextCloud instance.

[-] NENathaniel@lemmy.ca 1 points 1 year ago* (last edited 1 year ago)

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?

[-] techgearwhips@lemmy.world 1 points 1 year ago

Yes the port number is the last 4 digits after the :.

Tailscaleip:nextcloudport

[-] NENathaniel@lemmy.ca 1 points 1 year ago* (last edited 1 year ago)

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

[-] techgearwhips@lemmy.world 1 points 1 year ago

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

[-] NENathaniel@lemmy.ca 1 points 1 year ago

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

[-] NENathaniel@lemmy.ca 2 points 1 year ago

Haha okay fair enough np

[-] jbarr@lemmy.world 0 points 1 year ago

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.

[-] techgearwhips@lemmy.world 1 points 1 year ago

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.

[-] jbarr@lemmy.world 1 points 1 year ago

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.

[-] techgearwhips@lemmy.world 1 points 1 year ago

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.

this post was submitted on 15 Aug 2023
15 points (94.1% liked)

Selfhosted

40347 readers
217 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

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

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS