Skip to content

Instantly share code, notes, and snippets.

@vyder
Last active May 24, 2025 20:34
Show Gist options
  • Save vyder/c80d8a9ba7a3454aa02eb006697e3d19 to your computer and use it in GitHub Desktop.
Save vyder/c80d8a9ba7a3454aa02eb006697e3d19 to your computer and use it in GitHub Desktop.
Tunnel RTSP camera to Intenet

Tunnel RTSP camera to Intenet

As example, you have camera:

rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0

Run Ngrok on any computer in you LAN (use your token):

ngrok tcp 192.168.1.123:554 --authtoken eW91IHNoYWxsIG5vdCBwYXNzCnlvdSBzaGFsbCBub3QgcGFzcw

You will get similar output:

tcp://0.tcp.eu.ngrok.io:11465 -> 192.168.1.123:554

Now you have working stream:

rtsp://admin:[email protected]:11465/cam/realmonitor?channel=1&subtype=0

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment