@@ -1,3 +1,15 @@
# starttls is gloablly required for s2s
max_stanza_size: 131072
+ -
+ port: 5269
+ ip: "::"
+ module: ejabberd_s2s_in
+ starttls_required: true
+ max_stanza_size: 524288
+ port: 5270
+ tls: true
@@ -58,7 +58,7 @@ acl:
- ::FFFF:127.0.0.1/128
admin:
user:
- - "admin@localhost"
+ - "admin" # if Username is in the form of "user", the rule matches any JID that has Username in the node part as long as the server part of this JID is any virtual host served by ejabberd.
access_rules:
local: