mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 14:17:21 +00:00
add new acl and rules to restrict ports
This commit is contained in:
1 parent
4c6d7700e1
commit
665eb6ec7c
1 file changed
+13
@@ -1,4 +1,13 @@
|
||||
squid_acls:
|
||||
- name: Safe_ports
|
||||
classifier: port
|
||||
value: 80
|
||||
- name: Safe_ports
|
||||
classifier: port
|
||||
value: 443
|
||||
- name: SSL_ports
|
||||
classifier: port
|
||||
value: 443
|
||||
- name: os_external
|
||||
classifier: src
|
||||
value: "10.24.0.0/16"
|
||||
@@ -10,6 +19,10 @@ squid_acls:
|
||||
value: "\"{{ squid_config_directory }}/{{ squid_allowed_domain_file }}\""
|
||||
|
||||
squid_rules:
|
||||
- acl: "!Safe_ports"
|
||||
decision: deny
|
||||
- acl: "CONNECT !SSL_ports"
|
||||
decision: deny
|
||||
- acl: to_localhost
|
||||
decision: deny
|
||||
- acl: os_external allowed_domains
|
||||
|
||||
Reference in new issue
Block a user