0

here i have attached code of master config file of ejabberd.yml

whenever i try to connect xmpp account from few systems it does but some systems blocking it from same local network ,
im using ejabberd version 18.04 can anyone help me?

        # Ejabberd master Config file _id: null
        loglevel: 5
        log_rotate_size: 52428800
        log_rotate_date: "$D0"
        log_rate_limit: 10000
        hosts:

        - "rklogotest.xmpp.teledge.com"
         listen:
        -
        port: 5222
        ip: "::"
        module: ejabberd_c2s
        protocol_options:
        - "no_sslv3"
        - "no_sslv2"
        - "no_tlsv1"
        - "no_tlsv1_1"
        max_stanza_size: 65536
        certfile: "/usr/local/etc/ejabberd/certificate/ejabberd.pem"
        starttls: true
        starttls_required: true
        shaper: c2s_shaper
        access: c2s
        zlib: true
        resend_on_timeout: "if_offline"
        -
        port: 5269
        ip: "::"
        module: ejabberd_s2s_in
        -
        port: 5443
        module: ejabberd_http
        request_handlers:
        "upload": mod_http_upload
        web_admin: true
        http_bind: true
        register: true
        captcha: true
        certfile: "/usr/local/etc/ejabberd/certificate/ejabberd.pem"
        -
        port: 5280
        ip: "0.0.0.0"
        module: ejabberd_http
        request_handlers:
        "/api": mod_http_api
       disable_sasl_mechanisms: "digest-md5"
      s2s_use_starttls: required
     certfiles: "/usr/local/etc/ejabberd/certificate/ejabberd.pem"
      s2s_protocol_options:
        - "no_sslv3"
        - "no_sslv2"
        - "no_tlsv1"
        - "no_tlsv1_1"
    s2s_tls_compression: false
    auth_password_format: scram
   auth_method: sql
    sql_keepalive_interval: 3600
    shaper:
        normal: 100000
        fast: 5000000
      max_fsm_queue: 1000
    acl:
        admin:
        user:
        - {  }
        access:
        configure:
        admin: allow
        local:
        user_regexp: ""
        loopback:
        ip:
        - "::"
       access:
        max_user_sessions:
        all: 3
        max_user_offline_messages:
        admin: 5000
        all: 100
        local:
        local: allow
        c2s:
        blocked: deny
        all: allow
        c2s_shaper:
        admin: none
        all: normal
        s2s_shaper:
        all: fast
        announce:
        admin: allow
        configure:
        admin: allow
        muc_admin:
        admin: allow
        muc_create:
        local: allow
        muc:
        all: allow
        pubsub_createnode:
        all: allow
        register:
        all: allow
        trusted_network:
        loopback: all
       api_permissions:
        'API used from localhost allows all calls':
        who:
        ip: "127.0.0.1/24"
        what:
        - "*"
        - "!stop"
        - "!start"
  language: "en"
   include_config_file: "/usr/local/etc/ejabberd/tenant_config_file/ecoweb.xmpp.teledge.com.yml"
  include_config_file: 
  "/usr/local/etc/ejabberd/tenant_config_file/rklogotest.xmpp.teledge.com.yml"
     allow_contrib_modules: true

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.