Allowing In-Band Registration from specific IP's

Hello All,

I am using ejabberd 15.03 as a chat server. Now i want to restrict In-Band Registration from specific IP's. Currently anyone can register on my chat server from anywhere but now i want to restrict it to some of the specific IP's

So Can someone please help me out, how can i do this?

And FYI. currently i do have below entries in the ejabberd.yml file of my chat server.

register:
    all: allow

Please let me know if any additional details are needed from my end.

Best,
Manish

Maybe this option isn't yet

Maybe this option isn't yet available in ejabberd 15.03. In 17.03, the ejabberd guide describes this option:

acl:
  loopback:
    ip:
      - "127.0.0.0/8"

access_rules:
  trusted_network:
    - allow: loopback

modules:
  mod_register:
    ip_access: trusted_network

Syndicate content