this post was submitted on 17 Jun 2023
21 points (100.0% liked)

Selfhosted

40296 readers
358 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
 

Is there a good way to self host a federated service at home without port forwarding? Is it possible to use cloudflare tunnels or tailscale funnel and still connect to the federation?

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago

https://lemmyonline.com/ is an instance hosted at my house, without port-forwarding, using cloudflare.

Just make sure you have a valid domain, and valid TLS. TLS is required for federation.

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

I’m using lemmy with my cloudflare tunneled instance right now, no issues at all :)

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

Your username is amazing btw

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

Like others have said, definitely you can CloudFlare tunnel. I set mine up a few days ago and it's great and pretty easy too!

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

In the spirit of self-hosting I am self-hosting a tool that does what you are asking for. I run frp on a cloud provider. My homelab makes an outgoing connectionusing the frp client to the frp server(s), which use that connection to forward port 443 (and any other ports I specify in the client config) into my lab. You could even terminate SSL in the cloud running nginx/Traefik/etc there, though I have chosen not to.

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

Slightly unrelated: is having your own instance and then federarating, just like people do with Mastodon, also equally valuable with Lemmy?

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

I'm not sure what exactly you mean by valuable

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

It's certainly easier on storage. Doesn't Mastodon cache like, every image to your instance?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

It’s what I moved too. Allows me to be in control of my account and be less subject to aggresive moderation. I can still participate I. Aggressively moderated communities but may not be cut off as easily if they decide to defederate suddenly like what happened with lemmy.world and beehaw (which I’m not judging, just don’t want an account on one instance to be suddenly thrust into relegation).

I may open my instance up to other users more but don’t intend to host communities since I don’t have the time nor the inclination to moderate people behavior or spammers.

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

I would use cloudflare first and foremost. Tailscale doesn’t use public IPs, instead they use cgnat space from rfc6598 inside 100.64.0.0/10 I believe. Though you may be able to open a port or something, it’s not really the intended use of the service and could introduce some unexpected results or exposure.

https://en.m.wikipedia.org/wiki/Carrier-grade_NAT

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

My workflow for setting up a Lemmy instance goes something like this:

  • asdf
load more comments
view more: next ›