I would love to be able to use S2S over the tor socks5 proxy and tried to include the mod_onions mod in your image and added the mod onion configs to 01-modules.cfg.lua like this:
onions_tor_all = true; -- pass all s2s connections through Tor
onions_only = true; -- allow all connection attempts to non-onion servers
onions_socks5_host = "172.18.0.3"; --hotname for proxy (172.18.0.3 address of tor interface)
onions_socks5_port = "9051";
The onion container should be configured to open up the socks5 port on 0.0.0.0:9051 so it should be possible for prosody to connect to the address of the container.
It still doesn't work (module is installed in the /usr/local/lib/prosody/modules folder). Do you have any idea what could be the issue?
I would love to fork your project at a point to make the image available as a onion service to protect meta data a bit better when using xmpp. Im not really experienced in docker jet and if you have a better suggestion on how to make this project in a way where it isn't antagonistic to the direction you want to go with this image pls tell me.
I run the container as an onion Service with the following docker-compose file:
I would love to be able to use S2S over the tor socks5 proxy and tried to include the mod_onions mod in your image and added the mod onion configs to 01-modules.cfg.lua like this:
The onion container should be configured to open up the socks5 port on 0.0.0.0:9051 so it should be possible for prosody to connect to the address of the container. It still doesn't work (module is installed in the /usr/local/lib/prosody/modules folder). Do you have any idea what could be the issue?
I would love to fork your project at a point to make the image available as a onion service to protect meta data a bit better when using xmpp. Im not really experienced in docker jet and if you have a better suggestion on how to make this project in a way where it isn't antagonistic to the direction you want to go with this image pls tell me.