Prosody server with onion domain

Skip to first unread message

Валентин Федосеев

Jul 13, 2021, 8:05:19 AM7/13/21
to Prosody IM Users
Hello, I set up the XMPP Prosody server in conjunction with the onion domain, it works fine with v2 domains, but when I trying to configure it with onion v3, it does not connect. Everything is clear in prosody logs, there are no errors, but the jabber client simply does not connect. 
For onion v2, I used this
sudo apt install tor prosody 
printf "HiddenServiceDir /var/lib/tor/jabber\nHiddenServicePort 5222\nHiddenServicePort 5322\nHiddenServicePort 5269\n" | sudo tee /etc/tor/torrc sudo service tor restart 
sudo nano /etc/prosody/prosody.cfg.lua //here i just add admin and virtualHost with my onion domain
sudo openssl req -new -x509 -days 365 -nodes -out "/etc/prosody/certs/host.crt" -newkey rsa:2048 -keyout "/etc/prosody/certs/host.key" 
sudo service prosody restart

after that just adding users and it works fine. On client (pidgin) i set SOCKS5, port 9050 OS ubuntu 16.04, I also tried it on 18 and 20, the result is the same. 

What could be the problem and in what direction should you look for a solution?

Reply all
Reply to author
0 new messages