servers:linux:prosody
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| servers:linux:prosody [2024/08/13 16:31] – created Sean Rhone | servers:linux:prosody [2026/05/15 03:08] (current) – Sean Rhone | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| - | * [[distros:ubuntu_server | + | * [[linux:distros:server: |
| - | * [[servers: | + | * [[servers:linux: |
| - | + | ||
| - | ===== Notes ===== | + | |
| - | + | ||
| - | * https:// | + | |
| - | * https:// | + | |
| ====== Dependencies ====== | ====== Dependencies ====== | ||
| Line 19: | Line 14: | ||
| **** | **** | ||
| - | sudo apt install ' | + | sudo zypper |
| ====== Firewall ====== | ====== Firewall ====== | ||
| Line 25: | Line 20: | ||
| * 5222/tcp is XMPP c2s ((client to server communications)) and needs forwarded from the router | * 5222/tcp is XMPP c2s ((client to server communications)) and needs forwarded from the router | ||
| * 5269/tcp is XMPP s2s ((server to server communications)) and needs forwarded from the router | * 5269/tcp is XMPP s2s ((server to server communications)) and needs forwarded from the router | ||
| + | * [[linux: | ||
| - | sudo -e '/ | + | sudo firewall-cmd --add-service='xmpp-client' |
| - | + | ||
| - | < | + | |
| - | [prosody-custom] | + | |
| - | title=prosody-custom | + | |
| - | description=Prosody XMPP C2S and S2S | + | |
| - | ports=5222, | + | |
| ====== Settings ====== | ====== Settings ====== | ||
| - | ===== General ===== | + | * https:// |
| - | | + | ===== Modular ===== |
| + | |||
| + | echo ' | ||
| sudo -e '/ | sudo -e '/ | ||
| - | |||
| - | Include " | ||
| ===== RoE | Chat ===== | ===== RoE | Chat ===== | ||
| - | sudo -e '/ | + | |
| - | | + | < |
| - | + | admins = { " | |
| - | ssl = { | + | |
| - | key = "/ | + | |
| - | certificate = "/ | + | |
| - | protocol = " | + | |
| - | ciphers = " | + | |
| - | } | + | |
| - | + | ||
| - | c2s_require_encryption = true | + | |
| - | + | ||
| - | s2s_secure_auth = true | + | |
| - | + | ||
| - | authentication = " | + | |
| - | + | ||
| - | VirtualHost " | + | |
| - | ==== Enable Host ==== | + | ssl = { |
| + | key = "/ | ||
| + | certificate | ||
| + | protocol | ||
| + | ciphers | ||
| + | } | ||
| - | **** | + | c2s_require_encryption = true |
| + | |||
| + | s2s_secure_auth = true | ||
| + | |||
| + | authentication = " | ||
| + | |||
| + | VirtualHost " | ||
| - | sudo rm -f '/ | + | -- End</code> |
| ====== Let's Encrypt SSL Cert ====== | ====== Let's Encrypt SSL Cert ====== | ||
| Line 77: | Line 64: | ||
| **** | **** | ||
| - | sudo cp '/ | + | sudo cp '/ |
| ===== Certbot Automation ===== | ===== Certbot Automation ===== | ||
| Line 105: | Line 92: | ||
| ====== Create User ====== | ====== Create User ====== | ||
| - | **** | + | sudo su ' |
| - | | + | prosodyctl adduser ' |
| ====== Services ====== | ====== Services ====== | ||
| Line 212: | Line 199: | ||
| rm -R ~/' | rm -R ~/' | ||
| + | |||
| + | ====== Resources ====== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | ====== TODO ====== | ||
| + | |||
| + | * https:// | ||
/usr/local/www/wiki/data/attic/servers/linux/prosody.1723581068.txt.gz · Last modified: by Sean Rhone
