This commit is contained in:
parent
cef4707307
commit
58392b7d6a
10 changed files with 80 additions and 122 deletions
|
|
@ -98,6 +98,7 @@ write_files:
|
|||
ufw allow out 53/udp comment 'DNS'
|
||||
ufw allow out 80/tcp comment 'HTTP'
|
||||
ufw allow out 443/tcp comment 'HTTPS'
|
||||
ufw allow out 1935/tcp comment 'RTMP restream'
|
||||
ufw allow out 123/udp comment 'NTP'
|
||||
ufw allow out to ${vpc_ip_range} comment 'VPC'
|
||||
|
||||
|
|
|
|||
|
|
@ -147,6 +147,13 @@ resource "digitalocean_firewall" "app" {
|
|||
destination_addresses = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
|
||||
# RTMP restream to external services
|
||||
outbound_rule {
|
||||
protocol = "tcp"
|
||||
port_range = "1935"
|
||||
destination_addresses = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
|
||||
# NTP
|
||||
outbound_rule {
|
||||
protocol = "udp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue