DEV-687 aachen ip hcloud fw
parent
c9c09828bb
commit
2da1f1ee28
@ -0,0 +1,53 @@
|
||||
---
|
||||
hcloud_firewall_objects:
|
||||
-
|
||||
name: "{{ stage }}-default"
|
||||
state: present
|
||||
rules:
|
||||
-
|
||||
direction: in
|
||||
protocol: icmp
|
||||
port: ''
|
||||
source_ips: '{{ ip_whitelist }}'
|
||||
destination_ips: []
|
||||
description: ICMP allowed
|
||||
-
|
||||
direction: in
|
||||
protocol: tcp
|
||||
port: '22'
|
||||
source_ips: '{{ ip_whitelist }}'
|
||||
destination_ips: []
|
||||
description: SSH allowed
|
||||
-
|
||||
direction: in
|
||||
protocol: tcp
|
||||
port: '80'
|
||||
source_ips: '{{ ip_whitelist }}'
|
||||
destination_ips: []
|
||||
description: HTTP allowed
|
||||
-
|
||||
direction: in
|
||||
protocol: tcp
|
||||
port: '443'
|
||||
source_ips: '{{ ip_whitelist }}'
|
||||
destination_ips: []
|
||||
description: HTTPS allowed
|
||||
-
|
||||
direction: in
|
||||
protocol: tcp
|
||||
port: 'any'
|
||||
source_ips: '{{ ip_whitelist_admins }}'
|
||||
destination_ips: []
|
||||
description: TCP - allow work from home without VPN
|
||||
-
|
||||
direction: in
|
||||
protocol: udp
|
||||
port: 'any'
|
||||
source_ips: '{{ ip_whitelist_admins }}'
|
||||
destination_ips: []
|
||||
description: UDP - allow work from home without VPN
|
||||
apply_to:
|
||||
-
|
||||
type: label_selector
|
||||
label_selector:
|
||||
selector: 'stage={{ stage }}'
|
||||
Loading…
Reference in New Issue