[ejabberd] deny networks with ejabberd

Badlop badlop at gmail.com
Mon Aug 15 17:26:14 MSD 2005


2005/8/10, Angelica Escobar <aescobar at credivalores.com>:
> I need to know how to deny all the networks and to allow just the networks
> that I want to. 

I just read the ejabberd Guide ('3.1.3  Access Rules' and '3.1.5 
Listened Sockets'). Maybe that example works. It allows the server to
communicate only with jabber.org and jabber.ru:

{acl, goodserver1, {server, "jabber.org"}}.
{acl, goodserver2, {server, "jabber.ru"}}.
...
{access, mys2s, [{allow, goodserver1}, {allow, goodserver2}, {deny, all}]}.
...
{listen,
    ...
    {5269, ejabberd_s2s_in,  [{access, mys2s}]},
    ...
}.


-- 
Correo: badlop at gmail.com
Mensajería: badlop at jabberes.org


More information about the ejabberd mailing list