Question: I need to access the camera from the outside, I have forwarded port 80. I can go to the web interface of the camera, but the video does not go. When I log in from the local network, there is a video. What other ports need to be forwarded?
Answer: For Internet Explorer — HTTP port (80), RTSP port (554), TCP port (6000).
For Google Chrome, Mozilla Firefox and other browsers — HTTP port (80), RTSP port (554), FLASH port (1935).
The port values are specified by default. All ports, except HTTP, must be forwarded symmetrically.
Only for camera models:
TR-D1120WD TR-D2113IR3 TR-D2113IR3 | TR-D2113IR3 TR-D2121IR3v2 TR-D2121IR3v3 TR-D2121IR3v4 TR-D2121IR3W TR-D2121IR3Wv2 TR-D2121WDIR3v2 TR-D2122WDZIR3 TR-D2122ZIR3 TR-D2123IR3v2 TR-D2123IR6v3 TR-D2123IR6v4 TR-D2123WDIR6 TR-D2141IR3 TR-D2142ZIR3 TR-D2143IR3 TR-D2143IR6 TR-D2151IR3 TR-D2152ZIR3 TR-D2153IR6 TR-D2161IR3 TR-D2163IR6 TR-D2181IR3 TR-D2183IR6 TR-D2221WDIR4 TR-D2222WDZIR4 TR-D2223WDIR7 TR-D2223WDZIR7 TR-D2224WDZIR7 | TR-D2251WDIR4 TR-D2252WDZIR4 TR-D2253WDIR7 TR-D2253WDZIR7 TR-D2B5 TR-D2B5-noPoE TR-D2B6 TR-D2D2 TR-D2D5 TR-D2S1 TR-D2S1-noPoE TR-D2S5 TR-D2S5-noPoE TR-D3111IR1 TR-D3113IR2 TR-D3121IR1 TR-D3121IR1v2 TR-D3121IR1v3 TR-D3121IR1v4 TR-D3122WDZIR2 TR-D3122ZIR2 TR-D3123IR2v3 TR-D3123IR2v4 TR-D3123VIR2v2 TR-D3123WDIR2 TR-D3141IR1 TR-D3142ZIR2 TR-D3143IR2 TR-D3143VIR2 | TR-D3151IR2 TR-D3152ZIR2 TR-D3153IR2 TR-D3223WDZIR3 TR-D3253WDZIR3 TR-D4101IR1v3 TR-D4111IR1v2 TR-D4121IR1v2 TR-D4121IR1v3 TR-D4121IR1v4 TR-D4141IR1 TR-D4151IR1 TR-D4161IR1 TR-D4181IR1 TR-D4221WDIR2 TR-D4251WDIR2 TR-D4B5 TR-D4B5-noPoE TR-D4B6 TR-D4D2 TR-D4D5 TR-D4S1 TR-D4S1-noPoE TR-D4S5 TR-D4S5-noPOE TR-D7101IR1 TR-D7111IR1W TR-D7121IR1v3 TR-D7121IR1v4 | TR-D7121IR1v5 TR-D7121IR1W TR-D7121IR1Wv2 TR-D7141IR1 TR-D7151IR1 TR-D8101IR2v2 TR-D8111IR2 TR-D8111IR2W TR-D8121IR2v2 TR-D8121IR2v3 TR-D8121IR2v4 TR-D8121IR2W TR-D8121IR2Wv2 TR-D8121WDIR2v2 TR-D8122ZIR2 TR-D8123ZIR3 TR-D8141IR2 TR-D8151IR2 TR-D8152ZIR2 TR-D8221WDIR3 TR-D8251WDIR3 TR-D9141IR2 TR-D9151IR2 TR-D9161IR2 TR-D9251WDIR3 TR-W2B5 TR-W2C1 TR-W2D5 TR-W2S1 |
Connecting cameras to the TRASSIR software from a remote network
Adding cameras to the TRASSIR software when the cameras are behind the NAT (remote camera with port forwarding).
The question often arises: how to add one or more cameras to the TRASSIR software from a remote object with port forwarding and which ports need to be forwarded for this?
In this article we will try to analyze this issue.
Which ports should I forward?
Usually, two ports are required for the full operation of a video surveillance camera in the TRASSIR software:
- Control port
- Video port (RTSP)
The control port can be different. For example, some Hikvision cameras work via the SDK - 8000 port, and modern Hikvision\Hiwatch cameras are connected via the ISAPI - 80 port.
If the camera is not integrated into the TRASSIR software, then most likely it can be connected via the ONVIF protocol. The port for connecting via the ONVIF protocol is also not always standard and may differ from 80.
How do I find out which control port is on the camera?
The easiest way is to create a manual connection with this camera in the TRASSIR software and see which port the connection is made on:
If the camera is connected via the ONVIF protocol, then the port can be determined using the Onvif Device Manager program.
To do this, log in with the data from the camera (Login). In the string “identification” in the substring “URI” you will see the port.
For example 192.181.123.3:2000, where 2000 is the port. If there is no colon, then the port is 80.
When you have decided on the port, you can not forward it symmetrically, that is, the external port may differ from the internal real port of the camera.
Example: 81 external ports, and 80 internal. If necessary, you can change the control port on the camera and perform symmetrical port forwarding, thereby simplifying system maintenance.
Video Port (RTSP)
By default, this port is set to 554 for most cameras. It always needs to be routed symmetrically, that is, the internal and external ports must match.
This is due to the fact that the TRASSIR software requests information from the camera about its RTSP port and generates a video request link based on the data received.
If there are two or more cameras on the network, then in this case we recommend changing the RTSP port on the camera's web interface and already passing it symmetrically, for example, replacing the first or last character in ascending order.
Example:
External port | Internal port |
---|---|
554 | 554 |
555 | 555 |
556 | 556 |
557 | 557 |
When adding a camera to the TRASSIR software via the RTSP protocol, it is not necessary to forward the ports symmetrically, since the link explicitly indicates which port to pick up the video stream from.