[ejabberd] filtering

Andreas van Cranenburgh andreas at unstable.nl
Sat Nov 6 23:49:21 MSK 2004


On Sat, Nov 06, 2004 at 12:43:13PM -0800, 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.

E.g.:

{5556, ejabberd_service, [{ip, {127, 0, 0, 1}}, {access, all}, {host, "aim",   [{password, "someSecret"}]}]}

Well in this case it's for a transport, but the same syntax applies for
c2s or s2s. So just add {ip, {127, 0, 0, 1}} in the list of arguments
and change the IP to your liking.

	Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20041106/42b44c34/attachment.bin


More information about the ejabberd mailing list