Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
62438642
Commit
62438642
authored
Apr 24, 2015
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proxy work in progress, split regex and domain acls
parent
e51362cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
squid.conf
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
+4
-2
No files found.
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
View file @
62438642
...
...
@@ -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'
) %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment