Port forwarding for RTSP camera
Use this page when the camera works on LAN or in a vendor app, but RTSP.RUN cannot reach it from the public internet.
Port forwarding is often the missing step between “the camera works locally” and “the public RTSP URL is actually reachable from outside”. This page exists to keep you from debugging browser playback when the camera is not publicly exposed yet.
What to check first
- verify the internal camera IP, the RTSP port, and the router rule that should expose it publicly
- confirm that the public hostname or IP points to the network where the camera really lives
- review the security implications before exposing a camera stream publicly
Questions behind port forwarding and internet exposure
Start with the internet access requirement, then confirm the public IP or DDNS path.
您需要在路由器上配置端口转发(通常是端口 554),指向摄像机的内部 IP 地址。
- 您可以在网上找到针对特定路由器的教程。
- 请使用强密码,并禁用摄像机上不必要的服务。
您可以在 whatismyipaddress.com 网站或路由器的管理界面中查看您的公网 IP。
注意:如果您使用移动或共享网络,您的 IP 可能会与其他用户共享。
可以。如果您的 IP 地址会不时更改,请使用免费的 动态 DNS 服务(如 No-IP、DuckDNS、Dynu)。
- 您将获得一个名称,它会自动更新为您的当前 IP 地址。
- 大多数路由器和摄像机在设置中都支持 DDNS 功能。