Protect Your Privacy! Use Matrix: A Self-Hosted, E2E Encrypted, Alternative to WhatsApp and Signal

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • НаукаНаука

Комментарии • 88

  • @robertfichtinger
    @robertfichtinger Год назад +4

    Great video once more, really admirable how you are able to bring this complex material in an easy to understand way 👏🏻
    Looking forward to your kubernetes set-up, as I think it would be great if I could just add more resources to these type of containers when needed. Indeed, bridging would also be nice, because it is hard to have others switch to matrix. Did you also considers dendrite instead of synapse? Mastodon would also be very interesting. Your channel is a true gem 💎!

    • @Jims-Garage
      @Jims-Garage  Год назад +2

      Thanks so much, Robert. I chose Matrix simply because it is the largest, and most mature from the research I did, and my own experience (even though there are others that have similar features). I find if you're trying to convince people to jump ship it's easier when it's something that is "widely" used.
      I will likely do a follow up on a Discord bridge as I'm going to set that up for my own Jim's Garage Discord server anyway.
      Kubernetes is coming, there's just a few more 'core' apps and items I want to cover first. I know kubernetes is going to be niche, so I'm keen to have people fully set up on docker first.

    • @mikebakkeyt
      @mikebakkeyt 11 месяцев назад +1

      echo the request for bridges - I also use telegram with bots for my internal alerting so bridging would be great.
      I'd also agree a different piece of content would be a Mastodon server and maybe how to integrate with Matirx (I'm assuming they can as they both seem federated but maybe I'm just deluded 🙂

  • @SparxNet
    @SparxNet Год назад +38

    A major problem isn't technical - it's about getting your contacts to use alternatives other than the usual suspects. That perhaps is more of a challenge than actually installing and using the software.

    • @Jims-Garage
      @Jims-Garage  Год назад +9

      I agree with you, adoption and mind switching is the hardest part. Hopefully I've called out how seamless it should be for people, but it's still a bit more effort than just downloading something 'that works'.
      Hopefully the benefits are in line with the effort.

    • @Felix-ve9hs
      @Felix-ve9hs Год назад +9

      Absolutely, it's the same with Signal, I only managed to convice 10 people to use it in the last 2 years ...

  • @blender_wiki
    @blender_wiki 7 месяцев назад +12

    Using matrix self hosted server for our business since the beginning of the project, highly recommended

    • @Jims-Garage
      @Jims-Garage  7 месяцев назад +2

      That's great to hear. I wish it was more popular!

  • @jeroenwieldraaijer
    @jeroenwieldraaijer 8 месяцев назад +3

    I also could not get in touch through matrix, but thank you.
    This video helped me setup matrix synapse and I managed to figure out the proxy and whatsapp bridge myself.
    Now I can finally read messages from WhatsApp groups on my iPhone without having to install that Meta stuff which i refuse to use. Sadly most people don’t care about privacy.

    • @Jims-Garage
      @Jims-Garage  8 месяцев назад

      Thanks. Unfortunately I had to close down the matrix server as it was being spammed.

  • @chrisumali9841
    @chrisumali9841 Год назад +4

    Thanks for the demo and info, have a great day

    • @Jims-Garage
      @Jims-Garage  Год назад

      Thanks, Chris. Enjoy the weekend.

  • @danbrown586
    @danbrown586 8 месяцев назад +3

    Good and clear explanation. I've been running Synapse for probably a year or so now as "one chat to rule them all"--I have the bridges installed for iMessage, Signal, Telegram, and WhatsApp, so I can use one app to communicate with any of those. Including iMessage on a Windows machine--that bridge is kind of fiddly to set up (and it looks like they're in the process of a complete overhaul of it), but it still works pretty well.

    • @Jims-Garage
      @Jims-Garage  8 месяцев назад +1

      That's awesome, good job. How do you find the experience? Do any non-Techie friends and family use it?

    • @danbrown586
      @danbrown586 8 месяцев назад

      @@Jims-Garage That wasn't really my purpose in installing it, so I haven't pursued having my non-techie friends/family use my Synapse server. Most of them are using my mail server, which is a start, and a few are using my self-hosted Bitwarden server. Once thing at a time...
      I have it installed on an Oracle VPS, which is free since it's small enough. There's an Ansible installation that takes care of most of the details (except, at the time, for the iMessage bridge)--Synapse itself, Synapse Admin, web client(s) of your choice, bridges of choice, etc. Pretty comprehensive, but it's a lot of moving pieces.

    • @alpineai
      @alpineai 7 месяцев назад +1

      Wow do tell

  • @peterwassmuth4014
    @peterwassmuth4014 5 месяцев назад +2

    Awesome Thank you for Sharing! 💯✴

  • @Gabriel-fv7ou
    @Gabriel-fv7ou 8 дней назад

    It would be great to see an update that includes using Redis to improve the response time of Matrix Synapse!

  • @chell6022
    @chell6022 Год назад +3

    Thank you and God bless.

  • @ahwx
    @ahwx Год назад +7

    Looks good! Is there a follow-up planned with Matrix bridges? (looks like you don't really talk about them, seeing the chapters in the description.)

    • @Jims-Garage
      @Jims-Garage  Год назад +3

      Thanks. Happy to visit some of them if there's sufficient interest.

  • @TismoGaming
    @TismoGaming 5 месяцев назад +1

    Hey Jim. Love your videos.
    Caption idea for your Merch: {it’s pretty straightforward}
    Looking forward to a free hoodie for the idea 😅

    • @Jims-Garage
      @Jims-Garage  5 месяцев назад

      Haha, thanks for the idea 😜

  • @PK5Dloks
    @PK5Dloks 9 месяцев назад +2

    Nice solid video for getting yourself set up with a basic Matrix instance. Well done!
    I've been running a server for a group of friends for just over two years now, it's been absolutely rock steady and has been surprisingly simple to keep maintained. Slowly over time I'm bringing more friends on-board.
    It runs really smooth on an on-prem server with UPS backup and redundant failover networking, so has about 99.8% uptime so far (downtime is me tinkering with it lol).
    Tried to drop you a message via the room link, but seems it's not there anymore.

    • @Jims-Garage
      @Jims-Garage  9 месяцев назад

      Hey, thanks! It is there just I've had to put an aggressive geo block on it due to spam. I love it , just wish more people used it...

  • @kevinhughes9801
    @kevinhughes9801 Год назад +2

    Excellent video thank you defo getting this setup

    • @Jims-Garage
      @Jims-Garage  Год назад +1

      No problem 👍 Drop a hello in my public Matrix channel when you have it up and running.

    • @kevinhughes9801
      @kevinhughes9801 Год назад +1

      @@Jims-Garage will do thanks

  • @idenver_bot
    @idenver_bot Год назад +2

    Great content, keep doing that

  • @janhenkins
    @janhenkins 3 месяца назад +1

    Hi Jim. Thanks, cracking video - I'm busy working through it to get Matrix installed. I have a couple of questions regarding the initial docker command at timecode 11:50 and onwards: Why does it have to be run via SUDO at all? Surely if we have (a) the user we are running as (ubuntu in this case) set to be part of the docker group, there should not be a need for SUDO, and therefore we won't have permission issues. Is this a valid argument? And (b) would it be possible to change "dst=data" to "dst=./data" so that the config and certs are created in a subfolder called "data" in our working directory? Thanks for all your beautifully crafted videos, they are an inspiration! 🙂

    • @Jims-Garage
      @Jims-Garage  3 месяца назад +2

      Thanks. It doesn't have to be run as sudo if you've added your user to the sudo group (that's up to you). Yes, you can use ./ notation if you want to create local directories, completely up to you how you want your folder structure.

  • @sturdyblock
    @sturdyblock 11 дней назад +1

    Firstly thanks to Jim. On trying to build a new VM, receiving the following error: E: Unable to locate package matrix-synapse-py3

    • @Jims-Garage
      @Jims-Garage  11 дней назад

      @@sturdyblock try to install it with apt

    • @sturdyblock
      @sturdyblock 11 дней назад +1

      Hi Jim & thanks for replying. I've tried using: sudo apt install matrix-synapse-py3 ; but I receive the unable to locate error. Regards.

    • @Jims-Garage
      @Jims-Garage  11 дней назад

      @@sturdyblock likely it's a pip3 package

  • @user-rg2zg2oj9y
    @user-rg2zg2oj9y 5 месяцев назад +1

    You should do this on ubuntu and show everything you have, like if you are setting up a reverse proxy, full in depth tutorail

  • @sethharpenger607
    @sethharpenger607 Месяц назад +1

    So, A matrix isn't secure, they can tell who's in what rooms and when they're posting
    B they can't close their rooms because of how that process works to CP is just rampant

    • @Jims-Garage
      @Jims-Garage  Месяц назад

      Matrix is definitely secure if you configure it correctly, remember that privacy and security are very different things. You can also restrict access if you want but by default it's designed to be open and federated (AFAIK).

  • @damswallace2408
    @damswallace2408 6 месяцев назад +2

    Hello Jim,
    Firstly, thanks for your hard work. Lots of your videos help me to understand how to deploy easily dokcer container.
    I was able to deploy SYNAPSE without so much problem (except securityHeader middle middleware in Traefik that was "too" secure lol). But ... !
    Everything is working in Synapse when 1 client is on the lan network. Since both client are outside of the line, call are ringing but you cannot hear anybody. Do you have the same behavior ?
    Looks like a TURN server is required, do you agree ? Or Am I missing something ?
    Regards,

    • @Jims-Garage
      @Jims-Garage  6 месяцев назад +2

      Yes, calls require a turn server. You can either do that or check out my jitsi video (far simpler)

  • @mikebakkeyt
    @mikebakkeyt 11 месяцев назад +2

    Very useful thanks. Just one question - what was the database name specified in the config file - PSYCOPG2 - couldn't relate that to anything as I think you called the PGDB Synapse?
    For future content - really suggest the topic of enabling external calling as in my experience, that is always a nightmare. I assume it involves deploying coturn and that seems a black art.

    • @Jims-Garage
      @Jims-Garage  11 месяцев назад

      Thanks. Yes, I haven't touched on coturn yet as my understanding is that NAT breaks it, which pretty much rules out home use. I do recommend jitsi though if you need a voice conference tool, I have a video on that.

  • @dmbrv
    @dmbrv Год назад +1

    Awesome video

  • @MarcMcMillin
    @MarcMcMillin 10 месяцев назад +2

    Hi Jim! great video as usual. Thank your for making this one. I followed your instructions closely and I'm getting an error where when I'm spinning up the container, it says it can't find the homeserver.yml file (Config file '/data/homeserver.yaml' does not exist. You should either create a new config file by running with the `generate` argument (and then edit the resulting file before restarting) or specify the path to an existing config file with the SYNAPSE_CONFIG_PATH variable.) Wondering if you have any thoughts on this?

    • @Jims-Garage
      @Jims-Garage  10 месяцев назад +2

      Thanks 👍 double check your bind mount for the homeserver.yaml file. This is something you can copy from my GitHub and tweak. It needs to be in the right place before it'll run.

    • @MarcMcMillin
      @MarcMcMillin 10 месяцев назад +2

      I rechecked my binding and tweaked it and now everything is golden! Thanks 🙂@@Jims-Garage

  • @LavaCreeperPeople
    @LavaCreeperPeople 8 месяцев назад +2

    I see

  • @jhPampoo
    @jhPampoo 8 дней назад

    I got one now, how about manage user and their privileges guy, as default, new registered user can create room...

  • @Ramaihaholic
    @Ramaihaholic Месяц назад

    hi. i am wondering how to increase the max file upload. i managed to increase it to 5gb but the upload doesn't start but fails after a little while. i am using the same docker image as you. could you help me?

  • @whitepaperkat67
    @whitepaperkat67 Месяц назад +1

    Honestly I run a matrix server and I still don't recommend it it's a complicated mess and channel load times are terrible

    • @Jims-Garage
      @Jims-Garage  Месяц назад

      It's definitlely not for the feint hearted I agree!

  • @freestudymusic550
    @freestudymusic550 6 месяцев назад

    I use signal is very good❤

  • @realjoecast
    @realjoecast 5 месяцев назад +1

    don't use biometrics for access to your mobile devices especially. you are defeating (some of) the purpose of using e2e encryption. if one of you are using biometrics your conversation is vulnerable to your friend having a late night out.. passing out and someone unlocking the phone. worse.. if an officer asks you to unlock your phone.. and you refuse they'll 'accidentally' point it at your face.. so physical privacy with bio metrics is horrible.

    • @Jims-Garage
      @Jims-Garage  5 месяцев назад +1

      From a purist perspective you're right, but most will lean on the other side of the security productivity scale. Besides, there are probably back doors in the OS anyway 😂

    • @realjoecast
      @realjoecast 5 месяцев назад

      @@Jims-Garagethere are, but you don't want your girl friend grabbing your phone while you are sleeping, pointing the phone at you to unlock it and then sees your conversations with your wife.... i mean you may deserve it... or maybe enjoy it depending on how they take the news but no reason to make it easier. worse, someone knocks you out on the street to mug you find your wallet empty... put your thumb on your phone then drain your paypal account (or whatever).
      the average police department won't have access to those back doors... they can just ask amazon, amazon will share your data with anyone who asks haha 🙂
      three letter agencies have access, especially if you don't fall into their political circle
      This is why you should just buy a phone from main land china. At least you know that they're stealing your data and probably not sharing it with the US government.
      Yeah what ever works for the user.. but the important part is that they know that any bio-metrics are a bad idea then decide what they want to do...

  • @RiffyDevine
    @RiffyDevine 4 месяца назад +1

    You don't happen to plan to do a video on how to set up a turn server for getting voip/video working on this do you?

    • @Jims-Garage
      @Jims-Garage  4 месяца назад

      It's on the list but a little way down. There are instructions on the GitHub if you're looking to do it sooner.

  • @Sfeclicel
    @Sfeclicel 10 месяцев назад +2

    Why you use a docker image for a separate db when synapse by default uses sqlite?

    • @Jims-Garage
      @Jims-Garage  10 месяцев назад +2

      Choose whatever suits, but an external database is better (more performant) for larger servers. Sqlite becomes very slow as it increases in size (it's usually used for testing purposes).

  • @potorrero
    @potorrero Год назад +1

    Oh it would a killer feature if it accepted authentication with google accounts.

    • @Jims-Garage
      @Jims-Garage  Год назад +1

      It does via OpenID: github.com/matrix-org/synapse/blob/develop/docs/openid.md

  • @mahadevaswamy8190
    @mahadevaswamy8190 Год назад +1

    sir i wanted to know how you will host each docker services like will you spin up new vm /lxc container for each service or you will host in a single vm docker instance

    • @Jims-Garage
      @Jims-Garage  Год назад

      I originally had a Docker VM with all my containers. This is good for security (doesn't use the host's kernel), and portability.
      I now Kubernetes, with an 8 VM cluster split across 2 physical Proxmox nodes. I also have a HA Sophos XG firewall so if a physical node fails, my services remain up. I'll come onto this setup later in my video series.

  • @syotos8643
    @syotos8643 Год назад +2

    How do manage user and passwords in .yaml files? Do you leave them in there or do you just remove them after you have ran it?

    • @Jims-Garage
      @Jims-Garage  Год назад

      The "proper" way is to use an .env file that you reference in the compose file.
      See here: docs.docker.com/compose/use-secrets/#:~:text=Getting%20a%20secret%20into%20a,on%20a%20per%2Dservice%20basis.

    • @finebrian2247
      @finebrian2247 11 месяцев назад

      What about the plain text password in the home server.yaml file?

  • @Taylor-ys2vh
    @Taylor-ys2vh 3 месяца назад

    Did I miss something? I changed the password and all I get are password authorization problems, my user is unable to authenticate.

  • @brayd1778
    @brayd1778 6 месяцев назад +1

    Synapse up and running including working federation. I couldn't join your room though and your server URL is getting errors on Federation Tester.

    • @Jims-Garage
      @Jims-Garage  6 месяцев назад +1

      Great job getting it working. Sadly I had to close it due to abuse. Perhaps in the future :)

    • @brayd1778
      @brayd1778 6 месяцев назад

      @@Jims-Garage ah sad! Maybe a tip: There's a bot called Draupnir that can be set up on a server to be able to moderate it better. Set this up for mine, too. Very handy! But of course involves still some time for moderation even though it is much quicker than per hand

  • @SireSquish
    @SireSquish 6 месяцев назад

    24:40 - it looks like you might have a couple of mistakes in the homeserver.yaml
    user: synapse-db -- should be synapse_user ?
    the line cp_max:1log_con.... -- seems to be missing a line break after cp_max: 10, and seems to have the zero lopped off.
    Much docker logs -f ing ensued.

    • @Jims-Garage
      @Jims-Garage  6 месяцев назад +1

      Thanks. Always check the GitHub for latest versions and fixes.

    • @SireSquish
      @SireSquish 6 месяцев назад

      @@Jims-GarageBTW - do you have a guide on using tokens for authentication, instead of using anything google?

  • @sosoh329
    @sosoh329 4 месяца назад +1

    Hi, great video, can I just let my friends and I use my home server or can anyone use it?

    • @Jims-Garage
      @Jims-Garage  4 месяца назад

      You can create private rooms etc and disable registration

    • @sosoh329
      @sosoh329 4 месяца назад +1

      @@Jims-Garage thank you for the quick reply, much faster than many youtubers who don't respond at all! Can I still make sure they are the only ones with accounts and no on else can accses it?

    • @Jims-Garage
      @Jims-Garage  4 месяца назад

      @@sosoh329 yes, check this out: matrix.org/blog/2019/11/09/avoiding-unwelcome-visitors-on-private-matrix-servers/

    • @Jims-Garage
      @Jims-Garage  4 месяца назад

      @@sosoh329 you can also put it behind a VPN

    • @sosoh329
      @sosoh329 4 месяца назад +1

      @@Jims-Garage Thank you!

  • @maselitoamazigh1385
    @maselitoamazigh1385 5 месяцев назад

    is this more secure than briar ?

  • @chrisarmstrong2721
    @chrisarmstrong2721 Год назад +1

    How does this compare to Jami?

    • @Jims-Garage
      @Jims-Garage  Год назад

      I don't know a great deal about Jami, other than it shares similar features and mission statement.
      Adoption of matrix synapse is significantly larger, hence why I chose it. Adoption of new platforms (matrix is 9 years old) is always challenging, and larger populations often triumph.

  • @tvojejbabkydedko
    @tvojejbabkydedko 8 месяцев назад +1

    synapse has been archived, what now?

    • @Jims-Garage
      @Jims-Garage  8 месяцев назад

      Really, can you link it?

    • @phizlip
      @phizlip 7 месяцев назад

      seems that it's still up?

  • @HBOSTUDIOS
    @HBOSTUDIOS 9 месяцев назад +1

    👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍!!!