kemonine
/
lollipopcloud
Archived
1
0
Fork 0
This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
lollipopcloud/services/matrix.md

34 lines
1022 B
Markdown
Raw Permalink Normal View History

2018-08-16 18:30:16 +00:00
# System Requirements
- https://matrix.org/docs/guides/faq.html#what-are-synapses-platform-requirements
# Federation Setup / Testing
- https://github.com/matrix-org/synapse/blob/master/README.rst#setting-up-federation
- https://matrix.org/federationtester/api/report?server_name=domain.tld
# Firewall Rules (firewalld)
```
# Main Matrix Services
firewall-cmd --permanent --zone=public --add-port=8448/tcp
firewall-cmd --permanent --zone=public --add-port=8008/tcp
firewall-cmd --permanent --zone=public --add-port=8090/tcp
firewall-cmd --reload
# Turn/voice/video services
firewall-cmd --permanent --zone=public --add-port=3478/tcp
firewall-cmd --permanent --zone=public --add-port=3478/udp
firewall-cmd --permanent --zone=public --add-port=5349/tcp
firewall-cmd --permanent --zone=public --add-port=5349/udp
firewall-cmd --reload
```
# Register new users
```
# Add -a before the url to create a new admin account
docker exec -it matrix register_new_matrix_user -c /data/homeserver.yaml http://127.0.0.1:8008
```