[ejabberd] filtering

Oleg V. Motienko mmm at ttn.ru
Sun Nov 7 08:47:28 MSK 2004


Randy Bush wrote:

>is there any way to tell erlang what source IP to listen on?  i
>would like to assign it another predictable address, and unfilter
>only the ports i need, such as s2s and 5222/5223.
>
>randy
>
>_______________________________________________
>ejabberd mailing list
>ejabberd at jabber.ru
>http://lists.jabber.ru/mailman/listinfo/ejabberd
>  
>
Yes, it's possible to set config like:
{listen,
 [
  {5222, ejabberd_c2s,     [{access, c2s}, {shaper, c2s_shaper}, {ip, 
{12,34,56,78}},
  starttls, {certfile, "./ssl.pem"}  ]},

-- 
Regards, Oleg
xmpp: mmm at jabber.ttn.ru



More information about the ejabberd mailing list