2023-05-29 19:51:46 +02:00
|
|
|
# LibreELEC setup
|
|
|
|
|
|
|
|
This repository contains setup or configuration files for [LibreELEC](https://libreelec.tv/) after installation.
|
|
|
|
|
|
|
|
### WireGuard VPN setup
|
|
|
|
* copy `~/.config/wireguard/wireguard.config.sample` to a new file, and adjust the parameters (see
|
2024-02-24 14:25:43 +01:00
|
|
|
[LibreELEC wiki](https://wiki.libreelec.tv/configuration/wireguard) for reference)
|
2023-06-04 11:15:18 +02:00
|
|
|
* do NOT set the DNS server in this conf file, but in `variables.conf`
|
2024-02-24 14:25:43 +01:00
|
|
|
* it is advisable to create a Systemd unit to manage the VPN connection, especially if it should start at boot
|
|
|
|
* use the [wiki](https://wiki.libreelec.tv/configuration/wireguard#configuring-systemd), and mind that the connection
|
|
|
|
name to use with `connmanctl` is the ConnMan id (`vpn_<endpoint_address>`) and not the name given to the connection
|
2023-06-03 12:33:17 +02:00
|
|
|
|
|
|
|
### Files
|
|
|
|
* `variables.conf.template` contains examples variables definitions, and should be copied locally to `variables.conf`
|
|
|
|
(with any required modifications).
|
|
|
|
* `systemd-templates/` contains Systemd units templates for detecting VPN connection, and apply routes and DNS
|
|
|
|
modifications.
|
2023-06-04 10:55:59 +02:00
|
|
|
* `set-dns.sh` sets the VPN DNS to `resolv.conf`, and `unset-dns.sh` restores the previous `resolv.conf`.
|
2023-06-03 12:33:17 +02:00
|
|
|
#### Installation
|
2023-06-03 12:54:27 +02:00
|
|
|
* `install.sh` script copies Systemd templates to their destination, and enables trigger (Systemd path).
|
2023-06-03 12:33:17 +02:00
|
|
|
|
|
|
|
### TODO
|
2023-06-03 12:54:27 +02:00
|
|
|
* RAS
|