mirror of https://github.com/OpenVidu/openvidu.git
Add TCP port rules for WebRTC traffic on port 7881 and 50000-60000 across multiple deployment configurations
parent
ba1df4660c
commit
61fbf9850b
|
@ -936,6 +936,14 @@ Resources:
|
||||||
FromPort: 1935
|
FromPort: 1935
|
||||||
ToPort: 1935
|
ToPort: 1935
|
||||||
CidrIpv6: ::/0
|
CidrIpv6: ::/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIp: 0.0.0.0/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIpv6: ::/0
|
||||||
- IpProtocol: udp
|
- IpProtocol: udp
|
||||||
FromPort: 7885
|
FromPort: 7885
|
||||||
ToPort: 7885
|
ToPort: 7885
|
||||||
|
@ -952,14 +960,6 @@ Resources:
|
||||||
FromPort: 50000
|
FromPort: 50000
|
||||||
ToPort: 60000
|
ToPort: 60000
|
||||||
CidrIpv6: ::/0
|
CidrIpv6: ::/0
|
||||||
- IpProtocol: tcp
|
|
||||||
FromPort: 50000
|
|
||||||
ToPort: 60000
|
|
||||||
CidrIp: 0.0.0.0/0
|
|
||||||
- IpProtocol: tcp
|
|
||||||
FromPort: 50000
|
|
||||||
ToPort: 60000
|
|
||||||
CidrIpv6: ::/0
|
|
||||||
|
|
||||||
Outputs:
|
Outputs:
|
||||||
ServicesAndCredentials:
|
ServicesAndCredentials:
|
||||||
|
|
|
@ -1080,22 +1080,6 @@ resource webServerSecurityGroup 'Microsoft.Network/networkSecurityGroups@2023-11
|
||||||
direction: 'Inbound'
|
direction: 'Inbound'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name: 'WebRTC_traffic_TCP'
|
|
||||||
properties: {
|
|
||||||
protocol: 'Tcp'
|
|
||||||
sourceAddressPrefix: '*'
|
|
||||||
sourcePortRange: '*'
|
|
||||||
destinationAddressPrefix: '*'
|
|
||||||
destinationPortRanges: [
|
|
||||||
'50000'
|
|
||||||
'60000'
|
|
||||||
]
|
|
||||||
access: 'Allow'
|
|
||||||
priority: 190
|
|
||||||
direction: 'Inbound'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"_generator": {
|
"_generator": {
|
||||||
"name": "bicep",
|
"name": "bicep",
|
||||||
"version": "0.36.1.42791",
|
"version": "0.36.1.42791",
|
||||||
"templateHash": "12381993962421618724"
|
"templateHash": "12302733880284242788"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
|
@ -595,22 +595,6 @@
|
||||||
"priority": 180,
|
"priority": 180,
|
||||||
"direction": "Inbound"
|
"direction": "Inbound"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "WebRTC_traffic_TCP",
|
|
||||||
"properties": {
|
|
||||||
"protocol": "Tcp",
|
|
||||||
"sourceAddressPrefix": "*",
|
|
||||||
"sourcePortRange": "*",
|
|
||||||
"destinationAddressPrefix": "*",
|
|
||||||
"destinationPortRanges": [
|
|
||||||
"50000",
|
|
||||||
"60000"
|
|
||||||
],
|
|
||||||
"access": "Allow",
|
|
||||||
"priority": 190,
|
|
||||||
"direction": "Inbound"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1728,6 +1728,14 @@ Resources:
|
||||||
FromPort: 443
|
FromPort: 443
|
||||||
ToPort: 443
|
ToPort: 443
|
||||||
CidrIpv6: ::/0
|
CidrIpv6: ::/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIp: 0.0.0.0/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIpv6: ::/0
|
||||||
- IpProtocol: udp
|
- IpProtocol: udp
|
||||||
FromPort: 7885
|
FromPort: 7885
|
||||||
ToPort: 7885
|
ToPort: 7885
|
||||||
|
@ -1744,6 +1752,14 @@ Resources:
|
||||||
FromPort: 50000
|
FromPort: 50000
|
||||||
ToPort: 60000
|
ToPort: 60000
|
||||||
CidrIpv6: ::/0
|
CidrIpv6: ::/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 50000
|
||||||
|
ToPort: 60000
|
||||||
|
CidrIp: 0.0.0.0/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 50000
|
||||||
|
ToPort: 60000
|
||||||
|
CidrIpv6: ::/0
|
||||||
|
|
||||||
OpenViduMasterNodeToMediaNodeRTMPIngress:
|
OpenViduMasterNodeToMediaNodeRTMPIngress:
|
||||||
Type: AWS::EC2::SecurityGroupIngress
|
Type: AWS::EC2::SecurityGroupIngress
|
||||||
|
|
|
@ -1959,6 +1959,22 @@ resource openviduMediaNodeNSG 'Microsoft.Network/networkSecurityGroups@2023-11-0
|
||||||
direction: 'Inbound'
|
direction: 'Inbound'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name: 'WebRTC_traffic_TCP'
|
||||||
|
properties: {
|
||||||
|
protocol: 'Tcp'
|
||||||
|
sourceAddressPrefix: '*'
|
||||||
|
sourcePortRange: '*'
|
||||||
|
destinationAddressPrefix: '*'
|
||||||
|
destinationPortRanges: [
|
||||||
|
'50000'
|
||||||
|
'60000'
|
||||||
|
]
|
||||||
|
access: 'Allow'
|
||||||
|
priority: 150
|
||||||
|
direction: 'Inbound'
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"_generator": {
|
"_generator": {
|
||||||
"name": "bicep",
|
"name": "bicep",
|
||||||
"version": "0.36.1.42791",
|
"version": "0.36.1.42791",
|
||||||
"templateHash": "6186739981001271048"
|
"templateHash": "3674868881840486374"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
|
@ -1292,6 +1292,22 @@
|
||||||
"priority": 140,
|
"priority": 140,
|
||||||
"direction": "Inbound"
|
"direction": "Inbound"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WebRTC_traffic_TCP",
|
||||||
|
"properties": {
|
||||||
|
"protocol": "Tcp",
|
||||||
|
"sourceAddressPrefix": "*",
|
||||||
|
"sourcePortRange": "*",
|
||||||
|
"destinationAddressPrefix": "*",
|
||||||
|
"destinationPortRanges": [
|
||||||
|
"50000",
|
||||||
|
"60000"
|
||||||
|
],
|
||||||
|
"access": "Allow",
|
||||||
|
"priority": 150,
|
||||||
|
"direction": "Inbound"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2087,6 +2087,14 @@ Resources:
|
||||||
FromPort: 443
|
FromPort: 443
|
||||||
ToPort: 443
|
ToPort: 443
|
||||||
CidrIpv6: ::/0
|
CidrIpv6: ::/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIp: 0.0.0.0/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIpv6: ::/0
|
||||||
- IpProtocol: udp
|
- IpProtocol: udp
|
||||||
FromPort: 7885
|
FromPort: 7885
|
||||||
ToPort: 7885
|
ToPort: 7885
|
||||||
|
@ -2103,6 +2111,14 @@ Resources:
|
||||||
FromPort: 50000
|
FromPort: 50000
|
||||||
ToPort: 60000
|
ToPort: 60000
|
||||||
CidrIpv6: ::/0
|
CidrIpv6: ::/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 50000
|
||||||
|
ToPort: 60000
|
||||||
|
CidrIp: 0.0.0.0/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 50000
|
||||||
|
ToPort: 60000
|
||||||
|
CidrIpv6: ::/0
|
||||||
|
|
||||||
OpenViduLoadBalancerToMediaNodeRTMPIngressSG:
|
OpenViduLoadBalancerToMediaNodeRTMPIngressSG:
|
||||||
Type: AWS::EC2::SecurityGroupIngress
|
Type: AWS::EC2::SecurityGroupIngress
|
||||||
|
|
|
@ -2847,6 +2847,22 @@ resource openviduMediaNodeNSG 'Microsoft.Network/networkSecurityGroups@2023-11-0
|
||||||
direction: 'Inbound'
|
direction: 'Inbound'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name: 'WebRTC_traffic_TCP'
|
||||||
|
properties: {
|
||||||
|
protocol: 'Tcp'
|
||||||
|
sourceAddressPrefix: '*'
|
||||||
|
sourcePortRange: '*'
|
||||||
|
destinationAddressPrefix: '*'
|
||||||
|
destinationPortRanges: [
|
||||||
|
'50000'
|
||||||
|
'60000'
|
||||||
|
]
|
||||||
|
access: 'Allow'
|
||||||
|
priority: 150
|
||||||
|
direction: 'Inbound'
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"_generator": {
|
"_generator": {
|
||||||
"name": "bicep",
|
"name": "bicep",
|
||||||
"version": "0.36.1.42791",
|
"version": "0.36.1.42791",
|
||||||
"templateHash": "11388703170829775157"
|
"templateHash": "5237566819187308269"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
|
@ -2193,6 +2193,22 @@
|
||||||
"priority": 140,
|
"priority": 140,
|
||||||
"direction": "Inbound"
|
"direction": "Inbound"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WebRTC_traffic_TCP",
|
||||||
|
"properties": {
|
||||||
|
"protocol": "Tcp",
|
||||||
|
"sourceAddressPrefix": "*",
|
||||||
|
"sourcePortRange": "*",
|
||||||
|
"destinationAddressPrefix": "*",
|
||||||
|
"destinationPortRanges": [
|
||||||
|
"50000",
|
||||||
|
"60000"
|
||||||
|
],
|
||||||
|
"access": "Allow",
|
||||||
|
"priority": 150,
|
||||||
|
"direction": "Inbound"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -974,6 +974,14 @@ Resources:
|
||||||
FromPort: 7885
|
FromPort: 7885
|
||||||
ToPort: 7885
|
ToPort: 7885
|
||||||
CidrIpv6: ::/0
|
CidrIpv6: ::/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIp: 0.0.0.0/0
|
||||||
|
- IpProtocol: tcp
|
||||||
|
FromPort: 7881
|
||||||
|
ToPort: 7881
|
||||||
|
CidrIpv6: ::/0
|
||||||
- IpProtocol: udp
|
- IpProtocol: udp
|
||||||
FromPort: 50000
|
FromPort: 50000
|
||||||
ToPort: 60000
|
ToPort: 60000
|
||||||
|
|
Loading…
Reference in New Issue