FreeSWITCH 客户端fs_cli连接设置(acl)

FreeSWITCH 默认配置只能 在本机连接, 要从 外面连接, 就要配置:

1 acl.conf.xml::network-lists/list
2 event_socket.conf.xml::apply-inbound-acl 参数 (指定使用哪个acl.xml::network-lists/list)

而 apply-inbound-acl 参数在 event_socket.conf.xml 默认值为 loopback.auto ,会拒绝外部客户端的连入.

acl.conf.xml 里设置 连接规则 , 然后再 event_socket.conf.xml 里配置使用哪个规则.

简单 来说, 就直接 使用 acl.conf 里默认有的 哪个规则 "lan"

acl.conf 里 设置 规则的 格式 

<list name="domains" default="deny">
    <node type="allow" domain="$${domain}"/>
    <node type="allow" cidr="192.168.1.0/24"/>

    <node type="allow" cidr="192.168.34.0/24"/>
    <node type="allow" cidr="127.0.0.1/24"/>
</list>

你可能感兴趣的