Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
update IST firewall rules
Browse files Browse the repository at this point in the history
- correct capi blobstore properties
- add port 8083 - log-cache.log-cache-cf-auth-proxy.proxy_port
- remove legacy consul ports

Co-authored-by: Mark Stokan <[email protected]>
Co-authored-by: Gary Liu <[email protected]>

[#172795055] Update Docs for IST firewalls with only needed ports
  • Loading branch information
markstokan committed May 12, 2020
1 parent c140993 commit 63fe13c
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions modules/isolation_segment/firewalls.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,11 @@ resource "google_compute_firewall" "cf-isoseg-egress" {
"4003", # vxlan-policy-agent.policy_server.internal_listen_port
"4103", # silk-controller.listen_port
"4222", # nats.nats.port
"4443", # blobstore.blobstore.tls.port
"8080", # blobstore.blobstore.port, file_server.diego.file_server.listen_addr (diego_brain instance group, PAS)
"4443", # capi.blobstore.tls.port
"8080", # capi.blobstore.port, file_server.diego.file_server.listen_addr (diego_brain instance group, PAS)
"8082", # reverse_log_proxy.egress.port
"8083", # log-cache.log-cache-cf-auth-proxy.proxy_port
"8084", # file_server.diego.file_server.listen_addr (control instance group, SF PAS)
"8300", # default consul server port
"8301", # default consul serf lan port
"8302", # default consul serf wan port
"8443", # uaa.ssl.port
"8447", # file_server.https_listen_addr
"8844", # credhub.port
Expand All @@ -145,16 +143,6 @@ resource "google_compute_firewall" "cf-isoseg-egress" {
"25777", # bosh.registry.port
]
}

allow {
protocol = "udp"

ports = [
"8301", # default consul serf lan port
"8302", # default consul serf wan port
"8600", # default consul dns
]
}
}

/* This firewall denies traffic from the isolation segment to cf on all ports. */
Expand Down

0 comments on commit 63fe13c

Please sign in to comment.