Child pages
  • firewall_setup
Skip to end of metadata
Go to start of metadata

The Agora service nodes use a total of 6 ports. The defaults for these are:

  • Tomcat's HTTP port
  • Port 4000: RTP Audio data
  • Port 4001: RTCP Audio control data
  • Port 4002: RTP H.263 Video data
  • Port 4003: RTCP Video control data
  • Port 4004: TCP message data (for the tools like the whiteboard)

All of these need to be open for clients to connect to from anywhere. Under Linux you would usually do this in your '/etc/sysconfig/iptables' file. Every machine that is running an Agora service node needs to have these ports opened, or else Agora just will not work.

  • No labels

1 Comment

  1. As an example, a part of an iptables configuration:

    -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 4000 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 4001 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 4002 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 4003 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 4004 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 4005 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5001 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 5001 -j ACCEPT

    We are using these different set of ports in our Agora beta installation. As Adrian states above, it is probably not needed anymore!