2010-07-15 12:17:00 +08:00
|
|
|
<configuration name="acl.conf" description="Network Lists">
|
|
|
|
<network-lists>
|
2021-02-10 01:44:17 +08:00
|
|
|
<!--
|
|
|
|
These ACL's are automatically created on startup.
|
2010-07-15 12:17:00 +08:00
|
|
|
|
2021-02-10 01:44:17 +08:00
|
|
|
rfc1918.auto - RFC1918 Space
|
|
|
|
nat.auto - RFC1918 Excluding your local lan.
|
|
|
|
localnet.auto - ACL for your local lan.
|
|
|
|
loopback.auto - ACL for your local lan.
|
2010-07-15 12:17:00 +08:00
|
|
|
-->
|
|
|
|
|
|
|
|
<list name="lan" default="allow">
|
2021-02-10 01:44:17 +08:00
|
|
|
<node type="allow" cidr="127.0.0.1/32"/>
|
|
|
|
<node type="allow" cidr="10.130.218.147/32"/>
|
2010-07-15 12:17:00 +08:00
|
|
|
</list>
|
|
|
|
|
2021-02-10 01:44:17 +08:00
|
|
|
<list name="deny_private_v6" default="allow">
|
|
|
|
<node type="deny" cidr="0.0.0.0/0"/>
|
|
|
|
<node type="deny" cidr="fe80::/10"/>
|
|
|
|
<node type="deny" cidr="fc00::/7"/>
|
|
|
|
</list>
|
2010-07-15 12:17:00 +08:00
|
|
|
<!--
|
2021-02-10 01:44:17 +08:00
|
|
|
This will traverse the directory adding all users
|
|
|
|
with the cidr= tag to this ACL, when this ACL matches
|
|
|
|
the users variables and params apply as if they
|
|
|
|
digest authenticated.
|
2010-07-15 12:17:00 +08:00
|
|
|
-->
|
2021-02-10 01:44:17 +08:00
|
|
|
<list name="domains" default="allow">
|
|
|
|
<!-- domain= is special it scans the domain from the directory to build the ACL -->
|
2010-07-15 12:17:00 +08:00
|
|
|
<node type="allow" domain="$${domain}"/>
|
2021-02-10 01:44:17 +08:00
|
|
|
<!-- use cidr= if you wish to allow ip ranges to this domains acl. -->
|
|
|
|
<!-- <node type="allow" cidr="192.168.0.0/24"/> -->
|
2010-07-15 12:17:00 +08:00
|
|
|
</list>
|
|
|
|
|
|
|
|
</network-lists>
|
|
|
|
</configuration>
|
|
|
|
|