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
d9198af6
Commit
d9198af6
authored
Apr 24, 2015
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proxy work in progress, undo split use regex
parent
62438642
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
squid.conf
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
+2
-4
No files found.
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
View file @
d9198af6
...
...
@@ -80,7 +80,7 @@ acl bannedHosts src {{ip}}
{%
if
(
'^'
or
'\\'
or
'$'
or
'['
)
in
element
%}
acl
whiteList
url_regex
{{
element
}}
{%
else
%}
acl
whiteList
_dom
dstdomain
{{
element
}}
acl
whiteList
url_regex
.+{{
element
|
replace
(
"."
,
"\."
}}
{%
endif
%}
{%
endfor
%}
{%
endif
%}
...
...
@@ -91,7 +91,7 @@ acl whiteList_dom dstdomain {{element}}
{%
if
(
'^'
or
'\\'
or
'$'
or
'['
)
in
element
%}
acl
blackList
url_regex
{{
element
}}
{%
else
%}
acl
blackList
_dom
dstdomain
{{
element
}}
acl
blackList
url_regex
.+{{
element
|
replace
(
"."
,
"\."
}}
{%
endif
%}
{%
endfor
%}
{%
endif
%}
...
...
@@ -155,7 +155,6 @@ 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'
) %}
...
...
@@ -163,7 +162,6 @@ http_access allow whiteList_dom
#
# 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