方法一、通过使用acl配置
<list name="domains" default="deny">
<!-- domain= is special it scans the domain from the directory to build the ACL -->
<node type="allow" domain="$${domain}"/>
<!-- use cidr= if you wish to allow ip ranges to this domains acl. -->
<node type="allow" cidr="172.18.4.0/24"/>

1 <node type="deny" cidr="172.29.1.129/32"/> //加上deny选项,此时从172.29.1.129发过来的呼叫需要407鉴权。
2 <node type="allow" cidr="172.29.1.129/32"/> //加上allow选项,此时从172.29.1.129发过来的呼叫不需要407鉴权。
3 <node type="allow" cidr="0.0.0.0/32"/> //放行所有的IP地址

</list>

相关文章:

  • 2021-12-12
  • 2022-12-23
  • 2021-12-19
  • 2021-09-22
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2021-06-29
猜你喜欢
  • 2022-01-29
  • 2021-12-19
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
相关资源
相似解决方案