Zum Inhalt springen

Raspberry Pi - openVPN Server

Aus Computech CMS Wiki

PiVPN – Simplest OpenVPN Setup And Configuration

Installation

curl -L https://install.pivpn.io | bash

Service Status prüfen

sudo service openvpn status

Create a client ovpn profile

pivpn add

or

pivpn -a
  • Das Script ist beim User eingetragen:
/home/pi/ovpns/

Linux Automatische Updates

client Download

https://openvpn.net/community-downloads/

Zertifikat update To check the expiration date, do:

cd /etc/openvpn
sudo openssl crl -in crl.pem -text

To renew it you can also do:

cd /etc/openvpn/easy-rsa
sudo ./easyrsa gen-crl
sudo cp pki/crl.pem /etc/openvpn/crl.pem
sudo systemctl restart openvpn