no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Vorherige ÜberarbeitungNächste Überarbeitung | |||
— | anleitungen:openvpn:linux [2021/02/03 13:21] – alte Version wiederhergestellt (2019/03/22 09:46) Andreas Jobs | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | =====OpenVPN-Konfiguration unter Linux===== | ||
+ | Aufgrund der zahlreichen verschiedenen verfügbaren Linux-Distributionen ist es uns nicht möglich, für jede Distribution eine passende Anleitung zur Verfügung zu stellen. Die folgende Anleitung sollte jedoch in den meisten Fällen problemlos funktionieren. | ||
+ | ====HINWEIS==== | ||
+ | Für eine stabile VPN-Verbindung sollten Sie **mindestens OpenVPN 2.4.0** verwenden! | ||
+ | |||
+ | ====Ubuntu Linux==== | ||
+ | Mit folgendem Befehl können Sie die Ubuntu Version ermitteln: | ||
+ | |||
+ | lsb_release -a | ||
+ | | ||
+ | ===Ubuntu 17.10 und neuer=== | ||
+ | Ubuntu Linux 17.10 und neuer beinhaltet eine hinreichend aktuelle Version des OpenVPN-Pakets. Die Installation erfolgt über die Paketverwaltung mit folgenden Befehlen: | ||
+ | |||
+ | sudo apt-get update | ||
+ | sudo apt-get install openvpn | ||
+ | |||
+ | Fahren Sie anschließend mit dem Abschnitt [[anleitungen: | ||
+ | |||
+ | ===Ubuntu 16.04=== | ||
+ | Konfigurieren Sie zunächst die Paketquelle der offiziellen OpenVPN-Pakete mit folgenden Befehlen: | ||
+ | |||
+ | wget -O - http:// | ||
+ | | ||
+ | sudo sh -c 'echo "deb http:// | ||
+ | |||
+ | Installieren Sie anschließend das Software-Paket **'' | ||
+ | |||
+ | sudo apt-get update | ||
+ | sudo apt-get install openvpn | ||
+ | |||
+ | ====Konfiguration==== | ||
+ | Laden Sie dann unsere OpenVPN-Konfigurationsdatei mit folgendem Befehl herunter, den Sie in einem Terminal-Fenster eingeben: | ||
+ | |||
+ | sudo wget -O / | ||
+ | |||
+ | Die Konfigurationsdatei liegt nun im Verzeichnis **''/ | ||
+ | |||
+ | ====Verbindung auf- und abbauen==== | ||
+ | Zum Starten der OpenVPN-Verbindung geben Sie im Terminal-Fenster folgenden Befehl ein: | ||
+ | |||
+ | sudo openvpn / | ||
+ | |||
+ | Sie werden dann nach loginID und Passwort gefragt. Anschließend wird die Verbindung aufgebaut. Schließen Sie das Terminal-Fenster bitte nicht. Sie können es minimieren, falls es Sie stört. | ||
+ | |||
+ | Zum Beenden der OpenVPN-Verbindung drücken Sie im Terminal-Fenster einfach STRG+C oder schließen Sie das Fenster. |