diff --git a/README.md b/README.md index eb193d8..d004ae1 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,10 @@ bash -ex raspi.sh - copy the wireguard config file on your Pi (scp/USB-Stick,..) replace \ with your wireguard-config file ``` +# configure connection nmcli connection import type wireguard file +# (re)connect VPN on error - check every minute +echo '* * * * * root ping -c4 192.168.44.1 >/dev/null || ( nmcli connection down pi-kodi-mobile ; nmcli connection up pi-kodi-mobile )' # redirect some services for example a jellyfin hostname echo "192.168.44.1 jellyfin.myhost.tld" >>/etc/hosts ```