Hey all, I almost have it setup and working.

Was able to login via element to my instance.

DNS/SRV setup It passed the federation test.

But I’m getting 401 unauthorized when I try and search for public rooms.

I kinda know where the issue is.

my set up is a little fucky due to my ISP blocking port 80. So I have an aws ec2 instance setup with a tunnel to my home-sever as well as a ngnix proxy manager setup to point to said home-server. Then I have the home-sever running matrix/synapse behind ngnix proxy manager.

Example.com/.well-known/matrix/server comes up with 404

Example.com/_matrix/static/ works

So I just have to narrow it down a little bit.

The main reason I wanted to setup matrix was I was super interested in the android sms bridge, but after looking through the setup process it seems like a lot too. Not sure if anyone has seen any easier guide than the main doc.

I have 80 and 443 forwarded on AWS, I believe I’d have to forward 8448 as well…? Still looking into that bit.

Also, any better communities I could reach out to?

Cheers.

  • ItsGhost
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I get where your coming from, and you’re right that it’s a complex setup. It comes with certain privacy trade-offs, but for this use case I’d seriously consider something like CloudFlare tunnels rather than trying to roll your own.

    My suspicion is nginx on the AWS instance hijacking /.well-known/* for its own uses. That said if the homeserver is for the same domain as it’s publically reachable from, the .well-known should be unnecessary, but it might be to change the port, it’s been a while since I’ve looked.

    You shouldn’t ultimately need to port forward anything extra beyond 443, heck I’m pretty sure my homeserver isn’t reachable on anything besides 443 even internally with how I’m running my proxies.

    Might be worth giving [email protected] a cross post, and if you want to check federation with an actual human I’m @ghost:itsg.host on matrix 👻