OpenVPN: Difference between revisions

From Elch-Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:
* nach /etc/openvpn/easyrsa3 wechseln
* nach /etc/openvpn/easyrsa3 wechseln
* ./easyrsa build-client-full animal_vpn_c2 <-- Name inkrementieren, PW aus PW-Safe
* ./easyrsa build-client-full animal_vpn_c2 <-- Name inkrementieren, PW aus PW-Safe
* Create P12 File from client certificate: openssl pkcs12 -export -in easyrsa3/pki/issued/animal_vpn_c2.crt -inkey easyrsa3/pki/private/animal_vpn_c2.key -out animal_vpn_c2.p12 <-- export PW leer lassen
* Optional: Create P12 File from client certificate: openssl pkcs12 -export -in easyrsa3/pki/issued/animal_vpn_c2.crt -inkey easyrsa3/pki/private/animal_vpn_c2.key -out animal_vpn_c2.p12 <-- export PW leer lassen
 
= Android Installation =
* "OpenVPN für Android" aus Play Store installieren
* ca.crt, client.crt und client.key auf das Gerät kopieren
* Grundeinstellungen: Typ = Zertifikate
* Cipher=AES-256-CBC, Authentication=SHA512
* Authentifizierung/Verschlüsselung: Hostname überprüfen -> off
* Compression -> on

Latest revision as of 17:37, 13 October 2021

Neues Client-Cert erstellen

  • root werden
  • nach /etc/openvpn/easyrsa3 wechseln
  • ./easyrsa build-client-full animal_vpn_c2 <-- Name inkrementieren, PW aus PW-Safe
  • Optional: Create P12 File from client certificate: openssl pkcs12 -export -in easyrsa3/pki/issued/animal_vpn_c2.crt -inkey easyrsa3/pki/private/animal_vpn_c2.key -out animal_vpn_c2.p12 <-- export PW leer lassen

Android Installation

  • "OpenVPN für Android" aus Play Store installieren
  • ca.crt, client.crt und client.key auf das Gerät kopieren
  • Grundeinstellungen: Typ = Zertifikate
  • Cipher=AES-256-CBC, Authentication=SHA512
  • Authentifizierung/Verschlüsselung: Hostname überprüfen -> off
  • Compression -> on