Update README

Add instructions for setting up a Systemd service unit for VPN connection
This commit is contained in:
Alexandre CATTEAU 2024-02-24 14:25:43 +01:00
parent 2a5ce61df6
commit 33f60c1781

View File

@ -4,8 +4,11 @@ This repository contains setup or configuration files for [LibreELEC](https://li
### 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)
[LibreELEC wiki](https://wiki.libreelec.tv/configuration/wireguard) for reference)
* do NOT set the DNS server in this conf file, but in `variables.conf`
* 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
### Files
* `variables.conf.template` contains examples variables definitions, and should be copied locally to `variables.conf`