this post was submitted on 20 Jul 2023
14 points (85.0% liked)

Selfhosted

40785 readers
1666 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 2 years ago
MODERATORS
 

Hi, finally setting up Nextcloud in an effort to de-Google myself and replace GDrive for good.

I am currently running Nextcloud via Tailscale and that works fine except for when i want to share a file to someone outside of my Tailnet. I have heard of federated Nextcloud but i am not sure that i quite understood the purpose of this or maybe there is a better solution? If i run two instances like that, will i simply be able to share certain files over to that instance for sharing?

all 16 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

I think for the Nextcloud federation to work, both instances need to be publicly accessible.

[–] [email protected] 3 points 1 year ago (1 children)

Not true, both instances need to be able to reach each other through a domain, but they don't both need to be public.

[–] [email protected] -4 points 1 year ago (1 children)

Eh, that is the same thing. I wasn't talking about public registrations or so.

[–] [email protected] 3 points 1 year ago (1 children)

That is most definitely not the same thing.

[–] [email protected] -1 points 1 year ago (1 children)

What do you think having a public IP means then?

[–] [email protected] 3 points 1 year ago

For the described scenario only one public IP is necessary. The other Nextcloud instance could have an internal IP only.

[–] [email protected] 2 points 1 year ago

Aren you sharing files to collaborate or just "send things to others?"

You could just setup nginx or apache and put files in a directory that it serves and send the link to your friends.

[–] vegetaaaaaaa 2 points 1 year ago

I run two nextcloud instances for this exact purpose (set up using this role so it's not more complex to manage than just one instance).

Personal instance on home server, shared instance on rented VPS. When I want to share a file/folder I just copy it to the VPS instance and use the "share by link" feature.