Comment on Using a SSH tunnel/ port forward to connect a TV?
eksb@programming.dev 3 days ago ssh -L 1234:localhost:1234 remote_server binds the RPi’s localhost:1234 to remote_server’s localhost:1234. You want to bind the port to something on the RPi that the TV can hit, so something like ssh -L 192.168.1.5:1234:localhost:1234 remote_server, where 192.168.1.5 is the RPi’s address.
I think you also want -N on the ssh command.
eyesaremosaics@lemmy.zip 3 days ago
That worked thanks, I didn’t know you could put an address like that in the -L command, and the -N is correct here too