Skip to content

Instantly share code, notes, and snippets.

@NicolaiSoeborg
Last active November 18, 2021 20:53
Show Gist options
  • Save NicolaiSoeborg/1f7a036382396ed6af519fe5dd5fd7bc to your computer and use it in GitHub Desktop.
Save NicolaiSoeborg/1f7a036382396ed6af519fe5dd5fd7bc to your computer and use it in GitHub Desktop.
# Start matrix with tor proxy:
# torsocks python3 -m synapse.app.homeserver --config-path /etc/matrix/homeserver.yaml
# /etc/matrix/homeserver.yaml
listeners:
- port: 8448
type: http
tls: false # <-- needs to be false
bind_addresses: ['127.0.0.1']
resources:
- names: [client, federation]
# Note: we can't bind to '::1' otherwise we get the following error from torsocks:
# twisted.internet.error.CannotListenError: Couldn't listen on ::1:8448: [Errno -2] Name or service not known.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment