Hi, I have ejabberd 1.0 running a public server. I'd also like to add a vhost for private use. Is it possible to have s2s enabled on one vhost but disabled on another? and if so, how?
TIA
Dave
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Hi, I have ejabberd 1.0 running a public server. I'd also like to add a vhost for private use. Is it possible to have s2s enabled on one vhost but disabled on another? and if so, how?
TIA
Dave
I don't find any way to do
I don't find any way to do it on ejabberd. But maybe you can use a firewall to block TCP connections to port 5269 with a specific address.
I can't picture how the
I can't picture how the firewall could be configured to differentiate between the different vhosts, unless they were on different IP's - one for disabled s2s but thats rather more hassle than I'd hoped for really...
Try mod_filter
S2S can't be disabled per vhost, but usingmod_filter you can filter packets based on source and destination addresses. Check the second example, as I wrote and tested it to fill your requirements.
Tell me if it works or not.