Merge branch 'next' into 'next'

Add portforwarding + opening to the docs (+recommended extension fix)

See merge request famedly/conduit!356
This commit is contained in:
Timo Kösters 2022-06-13 19:28:00 +00:00
commit f6dc22127a
2 changed files with 9 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"recommendations": [ "recommendations": [
"matklad.rust-analyzer", "rust-lang.rust-analyzer",
"bungcip.better-toml", "bungcip.better-toml",
"ms-azuretools.vscode-docker", "ms-azuretools.vscode-docker",
"eamodio.gitlens", "eamodio.gitlens",

View file

@ -58,6 +58,12 @@ In Debian you can use this command to create a Conduit user:
sudo adduser --system conduit --no-create-home sudo adduser --system conduit --no-create-home
``` ```
## Forwarding ports in the firewall or the router
Conduit uses the ports 443 and 8448 both of which need to be open in the firewall.
If Conduit runs behind a router or in a container and has a different public IP address than the host system these public ports need to be forwarded directly or indirectly to the port mentioned in the config.
## Setting up a systemd service ## Setting up a systemd service
Now we'll set up a systemd service for Conduit, so it's easy to start/stop Conduit and set it to autostart when your Now we'll set up a systemd service for Conduit, so it's easy to start/stop Conduit and set it to autostart when your
@ -247,7 +253,8 @@ $ curl https://your.server.name/_matrix/client/versions
$ curl https://your.server.name:8448/_matrix/client/versions $ curl https://your.server.name:8448/_matrix/client/versions
``` ```
- To check if your server can talk with other homeservers, you can use the [Matrix Federation Tester](https://federationtester.matrix.org/) - To check if your server can talk with other homeservers, you can use the [Matrix Federation Tester](https://federationtester.matrix.org/).
If you can register but cannot join federated rooms check your config again and also check if the port 8448 is open and forwarded correctly.
# What's next? # What's next?