this post was submitted on 20 Aug 2023
107 points (98.2% liked)

homelab

6653 readers
2 users here now

founded 4 years ago
MODERATORS
 

Do your chats look like this? Do you always forget which contacts use which apps? Do you wish there was a way to have all your chats in just one place?

In the following guide I'm going to show you how to use Matrix to achieve your dream of an all-in-one chat app, by using Matrix bridges and securing the connection with Cloudflare Tunnels.

you are viewing a single comment's thread
view the rest of the comments
[–] camr_on 4 points 1 year ago (2 children)

Surely it could be done with tailscale/headscale, or just a VPN connection? Unless I'm misunderstanding how the OP is using cloudflare tunnels

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

You could implement plenty of ways to access it, Cloudflare is just one of them. I made this guide to achieve the goal of self-hosting matrix bridges for people who are already familiar with Cloudflare and have a domain behind it, but it's not something that is mandatory to have for a similar setup.

Cloudflare Tunnels are useful to connect to the server without exposing your ssh port to the internet, and Cloudflare Workers to add .well-known files for federation and Sliding Sync proxy if you don't have a way to serve those files easily.

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

Yeah, I was wondering if the goal of the article (using bridges) is available without federation and having it open to the internet...

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

You can totally skip federation and you won't be able to use matrix users or join public rooms, but I guess it's something that some people don't need.