From Rivendell Wiki
All Roads Lead to Rivendell
VNC access from inside and outside the studios.
Or ... how to gain access to your Rivendell system from anywhere in the Universe.
<This set of initial notes from drew Roberts. Should get fleshed out and made more portable.>
We set up the VNC and other tunnels via SSH with a BASH script like this:
#!/bin/bash echo "SSH to port forwarded rdserver with tunnels" echo "vnc71, 6201:6201, 8090:80, 8100:8000" echo "6201 is the orban?)" ssh -p 2022 -L 6201:192.168.1.15:6201 -L 5971:localhost:5901 -L 8090:localhost:80 -L 8100:192.168.1.9:8000 -X firstname.lastname@example.org
At the some.routable.ip.address we have the firewall/router that the Rivendell server sits behind on a static IP address or on a reserved IP address in the router so that we can set up the port forward on the router.
In this example, that would be something like: 192.168.1.10
The port forwards would be something like this:
- 2022 external -> 192.168.1.10:22 internal (VNC control of Rivendell server)
- 8100 external -> 192.168.1.9:8000 internal (Icecast server for relay pull)
The tunnels are like this:
- VNC client connects to 5971 and gets to 5900 on localhost
- web browser connects to localhost:8090 and goes to port 80 on localhost which is an Apache web server
- web browser connects to localhost:8100 and goes to port 8000 on the Icecast server
- VLC or another audio player capable of streaming from an Icecast server can connect to http://localhost:8100/stream.m3u to listen to the stream over the tunnel.
- VLC or another audio player capable of streaming from an Icecast server can connect to http://some.routable.ip.address:8100/stream.m3u to listen to the stream over the open internet
- Optimod software can connect to localhost on port 6201 to connect to the Optimod port 6201 at 192.168.1.15