vpn
This commit is contained in:
parent
4894b1936b
commit
47356e5333
@ -53,7 +53,10 @@ bash -ex raspi.sh
|
||||
- copy the wireguard config file on your Pi (scp/USB-Stick,..)
|
||||
replace \<wireguard-config-file.conf\> with your wireguard-config file
|
||||
```
|
||||
# configure connection
|
||||
nmcli connection import type wireguard file <wireguard-config-file.conf>
|
||||
# (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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user