This commit is contained in:
parent
1a3930dd87
commit
c358db55aa
6 changed files with 55 additions and 22 deletions
|
|
@ -71,23 +71,17 @@ resource "digitalocean_firewall" "app" {
|
|||
source_addresses = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
|
||||
# WebRTC (ICE candidates)
|
||||
inbound_rule {
|
||||
protocol = "tcp"
|
||||
port_range = "3333"
|
||||
source_addresses = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
|
||||
# WebRTC STUN/TURN (NAT traversal)
|
||||
inbound_rule {
|
||||
protocol = "udp"
|
||||
port_range = "3333"
|
||||
port_range = "3478"
|
||||
source_addresses = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
|
||||
# WebRTC TCP (fallback)
|
||||
# WebRTC ICE candidates (media transport)
|
||||
inbound_rule {
|
||||
protocol = "tcp"
|
||||
port_range = "3334"
|
||||
protocol = "udp"
|
||||
port_range = "10000-10009"
|
||||
source_addresses = ["0.0.0.0/0", "::/0"]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue