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
ebad9352
Commit
ebad9352
authored
Feb 10, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(proxy) fix typo in comment / message
parent
907b786c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
actions_proxy.conf
src/opnsense/service/conf/actions.d/actions_proxy.conf
+1
-1
squid.conf
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
+4
-4
No files found.
src/opnsense/service/conf/actions.d/actions_proxy.conf
View file @
ebad9352
...
...
@@ -32,5 +32,5 @@ message:request proxy status
command
:/
usr
/
local
/
opnsense
/
scripts
/
proxy
/
fetchACLs
.
py
&&/
usr
/
local
/
etc
/
rc
.
d
/
squid
reload
parameters
:
type
:
script
message
:
Fetch
A
LC
s
from
remote
locations
message
:
Fetch
A
CL
s
from
remote
locations
description
:
Fetch
external
Proxy
(
squid
)
ACLs
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
View file @
ebad9352
...
...
@@ -103,7 +103,7 @@ acl bannedHosts src {{ip}}
{%
endfor
%}
{%
endif
%}
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.whiteList'
) %}
# A
LC
- Whitelist - User defined (whiteList)
# A
CL
- Whitelist - User defined (whiteList)
{%
for
element
in
OPNsense
.
proxy
.
forward
.
acl
.
whiteList
.
split
(
","
) %}
{%
if
'^'
in
element
or
'\\'
in
element
or
'$'
in
element
or
'['
in
element
%}
acl
whiteList
url_regex
{{
element
}}
...
...
@@ -133,7 +133,7 @@ acl remoteblacklist dstdom_regex "/usr/local/etc/squid/acl/{{blacklist.filename}
{%
endfor
%}
{%
endif
%}
# A
LC
- Block browser/user-agent - User defined (browser)
# A
CL
- Block browser/user-agent - User defined (browser)
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.browser'
) %}
{%
for
element
in
OPNsense
.
proxy
.
forward
.
acl
.
browser
.
split
(
","
) %}
acl
blockuseragents
browser
{{
element
}}
...
...
@@ -141,7 +141,7 @@ acl blockuseragents browser {{element}}
{%
endif
%}
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.mimeType'
) %}
# A
LC
- Block MIME types - User defined (mimetype)
# A
CL
- Block MIME types - User defined (mimetype)
{%
for
element
in
OPNsense
.
proxy
.
forward
.
acl
.
mimeType
.
split
(
","
) %}
acl
blockmimetypes
rep_mime_type
{{
element
}}
acl
blockmimetypes_requests
req_mime_type
{{
element
}}
...
...
@@ -159,7 +159,7 @@ acl SSL_ports port {{element.split(":")[0]}} # {{element.split(":")[1]|default('
# Default Safe ports are now defined in config.xml
# Configured Safe ports (if defaults are not listed, then they have been removed from the configuration!):
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.safePorts'
) %}
# A
LC
- Safe_ports
# A
CL
- Safe_ports
{%
for
element
in
OPNsense
.
proxy
.
forward
.
acl
.
safePorts
.
split
(
","
) %}
acl
Safe_ports
port
{{
element
.
split
(
":"
)[
0
]}}
# {{element.split(":")[1]|default('unknown')}}
{%
endfor
%}
...
...
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