5. Create Firewall Rules

Create Firewall Rules for StreamManager and Nodes

  1. From the left-hand navigation of the Digital Ocean dashboard, under the Manage section, choose Networking, Firewalls
  2. Click on Create Firewall
  3. Give a name to the Firewall
  4. Add Inbound Rules for the Red5 Pro ports:
5080default web access of Red5 Pro/Websockets for WebRTCTCP
443modified https access of Red5 Pro; secure websockets for WebRTC / Stream ManagerTCP
1935default Red5 Pro RTMP portTCP
8554default RTSP portTCP
6262websockets for HLSTCP
40000-65535TURN/STUN/ICE port range for WebRTCUDP

Create Separate Firewall rules for Terraform Server

Repeat the above steps, adding two inbound rules:

8083API access for Terraform serviceTCP