H.323 uses a single fixed TCP port (1720) to start a call using the H.225 protocol (defined by H.323 spec) for call control. Once that protocol is complete, it then uses a dynamic TCP port for the H.245 protocol (also defined by the H.323 spec) for caps and channel control. Finally, it opens up 2 dynamic UDP ports for each type of media that was negotiated for the call (audio, video, far-end camera control). This first port carries the RTP protocol data (defined by the H.225 spec) and the second one carries the RTCP data (defined by the H.225 spec).
As per TCP/IP standards, ports are divided into 3 sections: 0-1023 (privileged ports), 1024-49151 (registered ports) and 49152-65535 (dynamic ports). H.323 specifies the dynamic ports in the dynamic range are open. Polycom has added a feature to its product line that allows the ports to use a fixed ports (instead of dynamic ports) so that it can more easily traverse a firewall. Only the system behind the firewall need to turn on this feature, since the firewall will prevent the audio/video/FECC from the outside to come in unless this is enabled.
You must forward the traffic to and from the video endpoint through the firewall using the specified port numbers and protocol types for outgoing calls. To receive incoming calls, your must forward traffic using the 1720 TCP port.
The following are details on port forwarding assignments for various products:
Polycom Port Forwarding
For Polycom products, the following ports must be opened in the firewall and assigned to the IP address of videoconferencing endpoints (e.g. a video endpoint could be at 192.168.0.109):
So, a typical H.323 call would use 2 TCP fixed ports (3230-3231) and 6 UDP fixed ports (3230-3235) during the call.
• Port 1718 (UDP): Gatekeeper discovery • Port 1719 (UDP): Gatekeeper RAS (must be bidirectional) • Port 1720 (TCP): H.323 call setup (must be bidirectional) • Port 1731 (TCP): Audio call control (must be bidirectional) • Port 5060 (TCP and UDP): SIP
LifeSize Port Forwarding
Login to the Firewall/Router:
(NOTE: 3 TCP and 8 UDP is the minimum number of ports required for a single point-to-point H.323 video call.)
Login to the LifeSize system:
TANDBERG Port Forwarding
"In order to properly support a NAT configuration, the firewall will need to be configured as a one-to-one relationship between a public IP address and the private IP address for all ports in the H.323 range (which include 1718 UDP, 1719 UDP and 1720 TCP as well as other vendor-specific TCP and UDP ports needed to complete H.323 calls). For the specific range needed, consult your endpoint manufacturer."
Polycom GMS Ports:
GMS listens for connections on ports 80 and 3601 (GAB) and in the future will listen on port 3604 (ViaVideo) and other potentials later.
H.323 Ports (IP based video conferencing):
These ports can be set to "Fixed Ports" on Polycom systems, as opposed to dynamic.
Other Polycom ViewStation Ports:
Other ViaVideo Ports:
Accord (Polycom Network Systems) Additional Ports:
RADVision Additional:
d-Link DVC-1000 Ports:
The port 1720 (TCP) and the 6 ports 15328-15333 (TCP and UDP) need to be forwarded. d-Link indicates that NetMeeting and the H.323 cannot co-exist behind the same router simultaneously.
Here are pages that address specific products and the steps needed to configure the firewalls:
LinkSys Port Forwarding for H.323 audio video:
Here are the specific steps for H.323 port forwarding: https://portforward.com/english/routers/port_forwarding/Linksys/WRT54GC/H323.htm
"H323 requires you to forward the following ports: 1023,1024,1502,1503,1504,1730,1731,1732,65534." These static port settings do not seem quite right for Polycom system which need:
Port Type Protocol Function 1719 Static UDP H.323 Gatekeeper (H.225.0 RAS) 1720 Static TCP H.323 Calling (H.225.0 Call Signaling) 49152 -65535 Dynamic TCP H.323 Control (H.245) 1718 Static UDP H.323 Gatekeeper Discovery (H.225.0)
Configure a Cisco ASA 5505 for H.323 Video Conferencing:
customer_service/support/firewall/How To - Configure Cisco ASA 5505.pdf
04/06/2024