Zum Inhalt springen

Raspberry Pi - openVPN Server: Unterschied zwischen den Versionen

Aus Computech CMS Wiki
Simon Zeberli (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „==PiVPN – Simplest OpenVPN Setup And Configuration== * Anleitung [https://www.ostechnix.com/pivpn-simplest-openvpn-setup-configuration-designed-raspberry-pi/…“
 
Simon Zeberli (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 17: Zeile 17:


[[Linux Automatische Updates]]
[[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

Aktuelle Version vom 22. Juli 2022, 08:25 Uhr

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