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
08bcaf16
Commit
08bcaf16
authored
Apr 24, 2015
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proxy work in progress, tweak for unrestricted ips
parent
957709f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
squid.conf
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
+4
-4
No files found.
src/opnsense/service/templates/OPNsense/Proxy/squid.conf
View file @
08bcaf16
...
...
@@ -173,15 +173,15 @@ http_access deny blockuseragents
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.mimeType'
) %}
# ACL list (Deny) blockmimetypes
http_reply_access
deny
blockmimetypes
http_access
deny
blockmimetypes_requests
http_reply_access
deny
blockmimetypes
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.unrestricted'
) %}!
unrestricted
{%
endif
%}
http_access
deny
blockmimetypes_requests
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.unrestricted'
) %}!
unrestricted
{%
endif
%}
{%
endif
%}
# Deny requests to certain unsafe ports
http_access
deny
!
Safe_ports
http_access
deny
!
Safe_ports
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.unrestricted'
) %}!
unrestricted
{%
endif
%}
# Deny CONNECT to other than secure SSL ports
http_access
deny
CONNECT
!
SSL_ports
http_access
deny
CONNECT
!
SSL_ports
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.unrestricted'
) %}!
unrestricted
{%
endif
%}
{%
if
helpers
.
exists
(
'OPNsense.proxy.forward.acl.bannedHosts'
) %}
http_access
deny
bannedHosts
...
...
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