Connect to Libre ELEC from anywhere in the world

  • Is there any way to connect to LibreELEC from anywhere from world? I could connect to LibreELEC from local network with VNC.

    I want to connect from internet, could anybody help please?

  • If you have SSH enabled and you have either public IP on your LibreELEC machine or have some port forwarding on your router -> You can use SSH port forwarding

    ssh -L <local-port>:localhost:<remote-port> <libreelec-IP> -p <ssh-forwarded-port>

    <local-port> is the port you will put in you VNC client

    <remote-port> is the port the vnc server on you LibreELEC is listening

    <libreelec-IP> is publicly reachable address

    <ssh-forwarded-port> in case your LibreELEC machine does not have public IP - you can specify the port that is forwarded to port 22

    You can end up with something like:

    ssh -L 9999:localhost:5900 192.168.1.1 -p 122

    and then instruct your VNC client to connect to localhost and port 9999.

  • Do not port forward ssh as that is quite unsecure and uncomfortable to use.

    Install OpenVPN server at your local network. I have them on my Asus Merlin routers. But, many other devices can also be used.

    Than, simply connect OpenVPN client from any device and any location on the planet (with the Internet) and work as you are in your LAN (at home). Nothing else needs to be changed and isvery secure. Everything and every program and every comp/phone/tablet will work the same, as if you are at home (in your LAN).