modified secuirty group rules

This commit is contained in:
abrown38 committed 2024-05-24 10:45:32 +01:00
1 parent 9eace74ef4
commit 9d0f0c3ac0
2 files changed
+85 -8

No files matched your search

+4 -8
View File
@@ -1,7 +1,3 @@
#security_group_rules: # maybe separate groups more
# - { description: "example", direction: "ingress", state: "{{ state }}", secgrp: "domain_controller", etc........}
# - { description: "example", direction: "ingress", state: "{{ state }}", secgrp: "domain_controller", etc........}
os_network: external
security_groups:
@@ -12,6 +8,7 @@ security_groups:
- user_vms
- domain_member
remote_group_rules:
# Domain Controllers
- { direction: "ingress", protocol: "udp", port_min: 53, port_max: 53, group: "domain_controller", remote_group: "domain_member", comment: "DNS UDP"}
@@ -29,17 +26,16 @@ remote_group_rules:
- { direction: "ingress", protocol: "tcp", port_min: 3268, port_max: 3269, group: "domain_controller", remote_group: "domain_member", comment: "Global catalog"}
- { direction: "ingress", protocol: "udp", port_min: 123, port_max: 123, group: "domain_controller", remote_group: "domain_member", comment: "W32Time"}
- { direction: "ingress", protocol: "tcp", port_min: 49152, port_max: 65535, group: "domain_controller", remote_group: "domain_member", comment: "FRS RPC"}
- { direction: "ingress", protocol: "tcp", port_min: 49152, port_max: 65535, group: "domain_controller", remote_group: "domain_controller", comment: "FRS RPC"}
#- { direction: "ingress", protocol: "tcp", port_min: 49152, port_max: 65535, group: "domain_controller", remote_group: "domain_controller", comment: "FRS RPC"} # redundant because of above rule
# File servers
- { direction: "ingress", protocol: "tcp", port_min: 445, port_max: 445, group: "file_server", remote_group: "domain_member", comment: "SMB"} # could be restricted
- { direction: "ingress", protocol: "tcp", port_min: 49152, port_max: 65535, group: "file_server", remote_group: "file_server", comment: "RPC for DFS"}
# WSUS servers
- { direction: "ingress", protocol: "tcp", port_min: 8530, port_max: 8531, group: "wsus_server", remote_group: "domain_member", comment: "WSUS"}
# Chocolatey servers
- { direction: "ingress", protocol: "tcp", port_min: 80, port_max: 80, group: "chocolatey_server", remote_group: "user_vms", comment: "http"} # user_vms or domain_member???
- { direction: "ingress", protocol: "tcp", port_min: 443, port_max: 443, group: "chocolatey_server", remote_group: "user_vms", comment: "https"}
- { direction: "ingress", protocol: "tcp", port_min: 80, port_max: 80, group: "chocolatey_server", remote_group: "domain_member", comment: "http"}
- { direction: "ingress", protocol: "tcp", port_min: 443, port_max: 443, group: "chocolatey_server", remote_group: "domain_member", comment: "https"}
#
remote_ip_rules:
# User VMs