systemd-templates | ||
.gitignore | ||
install.sh | ||
README.md | ||
set-dns.sh | ||
unset-dns.sh | ||
variables.conf.template |
LibreELEC setup
This repository contains setup or configuration files for LibreELEC after installation.
WireGuard VPN setup
- copy
~/.config/wireguard/wireguard.config.sample
to a new file, and adjust the parameters (see https://wiki.libreelec.tv/configuration/wireguard for reference) - do NOT set the DNS server in this conf file, but in
variables.conf
Files
variables.conf.template
contains examples variables definitions, and should be copied locally tovariables.conf
(with any required modifications).systemd-templates/
contains Systemd units templates for detecting VPN connection, and apply routes and DNS modifications.set-dns.sh
sets the VPN DNS toresolv.conf
, andunset-dns.sh
restores the previousresolv.conf
.
Installation
install.sh
script copies Systemd templates to their destination, and enables trigger (Systemd path).
TODO
- RAS