Commit e51362cf authored by Jos Schellevis's avatar Jos Schellevis

Proxy work in progress, fix missing acl

parent 785b03f5
......@@ -89,7 +89,7 @@ acl whiteList dstdomain {{element}}
# ALC - Blacklist - User defined (blackList)
{% for element in OPNsense.proxy.forward.acl.blackList.split(",") %}
{% if ('^' or '\\' or '$' or '[') in element %}
acl url_regex {{element}}
acl blackList url_regex {{element}}
{% else %}
acl blackList dstdomain {{element}}
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment