Skip to content

Commit

Permalink
update egress and ingress rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bgraef committed May 1, 2024
1 parent 477291f commit ec9d591
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 39 deletions.
18 changes: 0 additions & 18 deletions ocne/templates/egress_security_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,3 @@
instance_egress_security_rules:
- destination: "0.0.0.0/0"
protocol: 6
- destination: "10.0.0.0/24"
protocol: 6
tcp_options:
source_port_range:
min: 2048
max: 2050
- destination: "10.0.0.0/24"
protocol: 6
tcp_options:
source_port_range:
min: 111
max: 111
- destination: "10.0.0.0/24"
protocol: 17
udp_options:
source_port_range:
min: 111
max: 111
48 changes: 27 additions & 21 deletions ocne/templates/ingress_security_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ instance_ingress_security_rules:
destination_port_range:
max: 22
min: 22
- source: "0.0.0.0/0"
protocol: 6
tcp_options:
destination_port_range:
min: 80
max: 80
- source: "0.0.0.0/0"
protocol: 6
tcp_options:
destination_port_range:
min: 443
max: 443
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
Expand All @@ -36,25 +48,13 @@ instance_ingress_security_rules:
destination_port_range:
min: 111
max: 111
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 17
udp_options:
destination_port_range:
min: 2049
max: 2049
- source: "0.0.0.0/0"
protocol: 6
tcp_options:
destination_port_range:
min: 80
max: 80
- source: "0.0.0.0/0"
protocol: 6
tcp_options:
destination_port_range:
min: 443
max: 443
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
Expand All @@ -66,48 +66,54 @@ instance_ingress_security_rules:
destination_port_range:
min: 8080
max: 8080
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 50002
max: 50002
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 8090
max: 8091
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 2379
max: 2380
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 5443
max: 5444
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 6443
max: 6444
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 8472
max: 8472
- source: "0.0.0.0/0"
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 10250
max: 10256
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
min: 30000
max: 32767
- source: "0.0.0.0/0"
protocol: 1
icmp_options:
Expand Down

0 comments on commit ec9d591

Please sign in to comment.