I want to access a web server that's connected to my Balena Device via SSH or Tunnel

Hi, I have a Balena device connected to an IP camera.
Is it possible to ssh or tunnel to the device in order to access the camera’s web server UI via my host browser?

1 Like

Yes, it is possible to ssh or tunnel to the Balena device in order to access the camera’s web server UI via your host browser.

To do this, you will need to set up an SSH tunnel from your local machine to the Balena device. You can do this by running the following command in a terminal window:

ssh -L 8080:localhost:80 balena@[device-ip-address]


Replace `[device-ip-address]` with the IP address of your Balena device.

This command sets up a tunnel that forwards traffic from port 8080 on your local machine to port 80 on the Balena device.

Once the tunnel is established, you should be able to access the camera's web server UI by opening a web browser on your local machine and navigating.
1 Like

Thanks so much @Kayden
I’ll give it a go

@aindriu, if i understand the question correctly, the Public Device URL feature should do what you need. Please see Actions and Settings - Balena Documentation