From 624386427da8e954ae5e96a534716cd2bfdf4dfa Mon Sep 17 00:00:00 2001 From: Jos Schellevis Date: Fri, 24 Apr 2015 11:46:40 +0200 Subject: [PATCH] Proxy work in progress, split regex and domain acls --- src/opnsense/service/templates/OPNsense/Proxy/squid.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/opnsense/service/templates/OPNsense/Proxy/squid.conf b/src/opnsense/service/templates/OPNsense/Proxy/squid.conf index 4d7b9bc63..910720e1d 100644 --- a/src/opnsense/service/templates/OPNsense/Proxy/squid.conf +++ b/src/opnsense/service/templates/OPNsense/Proxy/squid.conf @@ -80,7 +80,7 @@ acl bannedHosts src {{ip}} {% if ('^' or '\\' or '$' or '[') in element %} acl whiteList url_regex {{element}} {% else %} -acl whiteList dstdomain {{element}} +acl whiteList_dom dstdomain {{element}} {% endif %} {% endfor %} {% endif %} @@ -91,7 +91,7 @@ acl whiteList dstdomain {{element}} {% if ('^' or '\\' or '$' or '[') in element %} acl blackList url_regex {{element}} {% else %} -acl blackList dstdomain {{element}} +acl blackList_dom dstdomain {{element}} {% endif %} {% endfor %} {% endif %} @@ -155,6 +155,7 @@ http_access allow unrestricted # ACL list (Allow) whitelist http_access allow whiteList +http_access allow whiteList_dom {% endif %} {% if helpers.exists('OPNsense.proxy.forward.acl.blackList') %} @@ -162,6 +163,7 @@ http_access allow whiteList # # ACL list (Deny) blacklist http_access deny blackList +http_access deny blackList_dom {% endif %} {% if helpers.exists('OPNsense.proxy.forward.acl.browser') %}