1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- acl:
- local:
- user_regexp: ""
- loopback:
- ip:
- - 127.0.0.0/8
- - ::1/128
- - ::FFFF:127.0.0.1/128
- admin:
- # username without domain matches any JID that has Username in any virtual host served by ejabberd
- user:
- # - "admin@example.com"
- - "admin"
- access_rules:
- ## This rule allows access only for local users:
- local:
- - allow: local
- ## Only non-blocked users can use c2s connections:
- c2s:
- - deny: blocked
- - allow
- ## Only admins can send announcement messages:
- announce:
- - allow: admin
- ## Only admins can use the configuration interface:
- configure:
- - allow: admin
- ## Only accounts of the local ejabberd server can create rooms:
- muc_create:
- - allow: local
- ## Only accounts on the local ejabberd server can create Pubsub nodes:
- pubsub_createnode:
- - allow: local
- ## In-band registration allows registration of any possible username.
- ## To disable in-band registration, replace 'allow' with 'deny'.
- register:
- - deny
- ## Only allow to register from localhost
- trusted_network:
- - allow: loopback
- ## Do not establish S2S connections with bad servers
- ## If you enable this you also have to uncomment "s2s_access: s2s"
- ## s2s:
- ## - deny:
- ## - ip: "XXX.XXX.XXX.XXX/32"
- ## - deny:
- ## - ip: "XXX.XXX.XXX.XXX/32"
- ## - allow
|