instaleaza pivpn pe osmc

intra cu ssh pe osmc (user pass osmc implicite daca nu le-ai schimbat)
sudo nano /etc/os-release
inlocuieste OSMC cu Raspbian la variabila NAME
iesi si salvezi

instalezi iptables-persistent: sudo apt install iptables-persistent
apoi instalezi normal pivpn: sudo curl -L https://install.pivpn.io | bash

la dialogul DHCP reservation alegi yes
la dialogul installation mode alegi openvpn (wireguard da eroare)
la dialogul unnatended upgrades recomand no

la final creezi cel putin un client: pivpn add

daca vrei sa folosesti acelasi fisier la mai multi clienti
sudo nano /etc/openvpn/server.conf
si stergi # de la duplicate-cn

spor