Add Wireguard support

  • Question regarding Wireguard. Is Libreelec able to act as a Wireguard Server? No need for traffic tunneling, I just want to be able to remotely support a Libreelec system from external networks (elderly user, check logs, reboot, fix accidental settings changes etc).

  • Cranial there is nothing to prevent LE being a WireGuard server, but there is no packaging/scripts/etc. in the distro to support that so you'll need to handle it yourself. NB: Our SSH daemon listens on all interfaces by default so if the elderly user "client" end connects to a WireGuard "server" when support is needed you can always SSH from the server to the private (remote) IP of the WG client in a "reverse tunnel" arrangement.

  • Cranial there is nothing to prevent LE being a WireGuard server, but there is no packaging/scripts/etc. in the distro to support that so you'll need to handle it yourself. NB: Our SSH daemon listens on all interfaces by default so if the elderly user "client" end connects to a WireGuard "server" when support is needed you can always SSH from the server to the private (remote) IP of the WG client in a "reverse tunnel" arrangement.

    Thanks chewitt, that might be a better way to handle this. Connecting to a server on my end negates the need for a static ip or ddns on their end. I'll have a think about how to best accomplish this.

  • Some rough patches to address using an FQDN were posted to the connman mailing list about two months ago. I shared links to them at the same time and so-far received zero feedback. From this I conclude that nobody cares enough to contribute a little effort to testing. I blow hot/cold on my desire to do everything and have other priorities on my to-do list, so I suggest someone else pulls a finger out for once.

    That's a shame. Being able to use FQDN would be superb. I spent a while earlier thinking I'd gone mad before realising that was the reason I couldn't establish the connection. I'd be happy to help test if you were still looking for someone?

  • Thanks for this, worked perfectly. Though can't seem to get Cron working in LE. I've enabled the systemd for Cron to run and have tasks scheduled to run this script both on boot and periodically, and Cron shows that they are queued but they never fire. The script works fine if I run it manually, so I know it's not a script issue or a permissions issue (tried chmod 777 just in case), so I have no idea what is wrong with Cron under LE. If anyone knows, please let me know.